Lines Matching refs:namelist
98 names = zipfp.namelist()
437 self.assertEqual(zipfp.namelist(), ['file1'])
441 self.assertEqual(zipfp.namelist(), ['file1', 'file2'])
478 self.assertEqual(zipfp.namelist(), ["absolute"])
487 self.assertEqual(zipfp.namelist(), [TESTFN, "strfile"])
503 self.assertEqual(zipfp.namelist(), [TESTFN])
509 self.assertEqual(zipfp.namelist(), [TESTFN])
523 self.assertEqual(zipfp.namelist(), [TESTFN])
537 self.assertEqual(zipfp.namelist(), [TESTFN])
544 self.assertEqual(zipfp.namelist(), [TESTFN, 'strfile'])
724 names = zipfp.namelist()
762 self.assertEqual(len(zipf.namelist()), numfiles)
766 self.assertEqual(len(zipf2.namelist()), numfiles)
779 self.assertEqual(len(zipf.namelist()), numfiles)
782 self.assertEqual(len(zipf.namelist()), numfiles)
788 self.assertEqual(len(zipf.namelist()), numfiles)
791 self.assertEqual(len(zipf.namelist()), numfiles)
797 self.assertEqual(len(zipf.namelist()), numfiles)
801 self.assertEqual(len(zipf.namelist()), numfiles2)
805 self.assertEqual(len(zipf2.namelist()), numfiles2)
843 self.assertEqual(zipfp.namelist(), ["absolute"])
1139 def assertCompiledIn(self, name, namelist): argument
1140 if name + 'o' not in namelist:
1141 self.assertIn(name + 'c', namelist)
1172 self.assertNotIn(bn, zipfp.namelist())
1173 self.assertCompiledIn(bn, zipfp.namelist())
1183 self.assertNotIn(bn, zipfp.namelist())
1184 self.assertCompiledIn(bn, zipfp.namelist())
1196 names = zipfp.namelist()
1241 names = zipfp.namelist()
1260 names = zipfp.namelist()
1281 names = zipfp.namelist()
1310 names = zipfp.namelist()
1325 names = zipfp.namelist()
1530 self.assertEqual(zipfp.namelist(), ["name"] * 2)
1592 for name in zipfp.namelist():
1620 self.assertEqual(zipfp.namelist(), [filename])
1804 self.assertEqual(zipf.namelist(), ['foo.txt'])
1991 self.assertEqual(zipf.namelist(), ['foo', 'bar', 'baz'])
2705 namelist = [TESTFN, TESTFNDIR + '/', TESTFNDIR + '/file.txt']
2711 self.assertEqual(zf.namelist(), namelist)
2712 self.assertEqual(zf.read(namelist[0]), b'test 1')
2713 self.assertEqual(zf.read(namelist[2]), b'test 2')
2748 for n in zipfp.namelist():
2799 for name in zipfile.CompleteDirs._implied_dirs(zf.namelist()):