Lines Matching refs:root_p
33 def clean_recursive(root_p): argument
34 if not os.path.islink(root_p):
35 os.chmod(root_p, 0o777)
36 for ent in os.listdir(root_p):
37 p = os.path.join(root_p, ent)
46 def init_test_directory(root_p): argument
47 root_p = sanitize(root_p)
48 assert not os.path.exists(root_p)
49 os.makedirs(root_p)
52 def destroy_test_directory(root_p): argument
53 root_p = sanitize(root_p)
54 clean_recursive(root_p)
55 os.rmdir(root_p)