Lines Matching defs:junction
2858 junction = 'junctiontest'
2863 assert not os.path.lexists(self.junction)
2866 if os.path.lexists(self.junction):
2867 os.unlink(self.junction)
2870 _winapi.CreateJunction(self.junction_target, self.junction)
2871 self.assertTrue(os.path.lexists(self.junction))
2872 self.assertTrue(os.path.exists(self.junction))
2873 self.assertTrue(os.path.isdir(self.junction))
2874 self.assertNotEqual(os.stat(self.junction), os.lstat(self.junction))
2875 self.assertEqual(os.stat(self.junction), os.stat(self.junction_target))
2878 self.assertFalse(os.path.islink(self.junction))
2880 os.path.normcase(os.readlink(self.junction)))
2883 _winapi.CreateJunction(self.junction_target, self.junction)
2884 self.assertTrue(os.path.exists(self.junction))
2885 self.assertTrue(os.path.lexists(self.junction))
2887 os.unlink(self.junction)
2888 self.assertFalse(os.path.exists(self.junction))