Home | History | Annotate | Download | only in test

Lines Matching refs:_toc

698         self.assertEqual(self._box._toc, {})
701 self.assertEqual(self._box._toc, {})
703 self.assertEqual(self._box._toc, {key0: os.path.join('new', key0),
706 self.assertEqual(self._box._toc, {key0: os.path.join('new', key0),
709 self.assertEqual(self._box._toc, {key0: os.path.join('new', key0),
715 # period" of 2 seconds has passed; _toc should still be
721 self.assertEqual(self._box._toc, {})
725 # safety period has passed and re-reading the _toc is only
730 self.assertEqual(sorted(self._box._toc.keys()), sorted([key0, key1]))
738 self.assertEqual(self._box._toc, {key0: os.path.join('new', key0)})
743 self.assertEqual(self._box._toc, {})
823 # think that 2 seconds have passed and re-reading the _toc is
827 # Re-reading causes the ._toc attribute to be assigned a new dictionary
828 # object, so we'll check that the ._toc attribute isn't a different
830 orig_toc = self._box._toc
832 return self._box._toc is not orig_toc