Check whitelisted paths #13107 (#13154)

This commit is contained in:
Johann Kellerman authored and Paulus Schoutsen committed 2018-03-30 14:10:55 -07:00
1 parent 78f3e01854
commit 9fc8a8f679
2 files changed
+9 -4

No files matched your search

+2 -1
View File
@@ -809,7 +809,8 @@ class TestConfig(unittest.TestCase):
valid = [
test_file,
tmp_dir
tmp_dir,
os.path.join(tmp_dir, 'notfound321')
]
for path in valid:
assert self.config.is_allowed_path(path)