Lines Matching refs:walk_path
404 walk_path = join(test_support.TESTFN, "TEST1")
405 sub1_path = join(walk_path, "SUB1")
407 sub2_path = join(walk_path, "SUB2")
408 tmp1_path = join(walk_path, "tmp1")
430 all = list(os.walk(walk_path))
437 self.assertEqual(all[0], (walk_path, ["SUB1", "SUB2"], ["tmp1"]))
444 for root, dirs, files in os.walk(walk_path):
451 self.assertEqual(all[0], (walk_path, ["SUB2"], ["tmp1"]))
455 all = list(os.walk(walk_path, topdown=False))
462 self.assertEqual(all[3], (walk_path, ["SUB1", "SUB2"], ["tmp1"]))
469 for root, dirs, files in os.walk(walk_path, followlinks=True):