Lines Matching refs:exists
206 self.assertTrue(os.path.exists(dir_))
235 self.assertFalse(os.path.exists(dir1))
236 self.assertTrue(os.path.exists(dir3))
237 self.assertTrue(os.path.exists(file1))
248 self.assertTrue(os.path.exists(dir_))
277 self.assertFalse(os.path.exists(dir1))
278 self.assertTrue(os.path.exists(dir3))
279 self.assertTrue(os.path.exists(file1))
295 self.assertTrue(os.path.exists(filename))
298 self.assertTrue(os.path.exists(filename))
422 self.assertTrue(os.path.exists(fullname))
424 self.assertFalse(os.path.exists(fullname))
431 self.assertTrue(os.path.exists(tmp_dir))
550 exists = os.path.exists
570 self.assertTrue(exists(join(dst_dir, 'test.txt')))
571 self.assertFalse(exists(join(dst_dir, 'test.tmp')))
572 self.assertFalse(exists(join(dst_dir, 'test_dir2')))
579 self.assertFalse(exists(join(dst_dir, 'test.tmp')))
580 self.assertFalse(exists(join(dst_dir, 'test_dir2', 'subdir2')))
581 self.assertFalse(exists(join(dst_dir, 'test_dir2', 'subdir')))
602 self.assertFalse(exists(join(dst_dir, 'test_dir2', 'subdir2',
604 self.assertFalse(exists(join(dst_dir, 'test_dir2', 'subdir')))
614 exists = os.path.exists
637 self.assertTrue(exists(join(dst_dir, 'test_dir', 'subdir',
642 self.assertTrue(exists(join(dst_dir, 'test_dir', 'subdir',
649 self.assertTrue(exists(join(dst_dir, 'test_dir', 'subdir',
1078 # Ensure that the copied file exists and has the same mode bits.
1080 self.assertTrue(os.path.exists(file2))
1110 # Ensure that the copied file exists and has the same mode and
1113 self.assertTrue(os.path.exists(file2))
1291 self.assertTrue(os.path.exists(rv))
1822 # When given the fully qualified path to an executable that exists,
1829 # that exists, it should be returned.
2013 self.assertFalse(os.path.exists(src))
2019 self.assertFalse(os.path.exists(src))
2082 # A file with the same name inside the destination dir already exists.
2230 if os.path.exists(TESTFN_SRC):
2233 if os.path.exists(TESTFN_DST):