tests: Add comment to `test_create_secure_directory__perm_windows()` explaining when it fails

This commit is contained in:
shreyamalviya 2021-06-15 12:26:33 +05:30
parent d7565fc515
commit 91873343dd
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ def test_create_secure_directory__perm_windows(test_path):
def test_create_secure_file__already_created(test_path): def test_create_secure_file__already_created(test_path):
os.close(os.open(test_path, os.O_CREAT, 0o700)) os.close(os.open(test_path, os.O_CREAT, 0o700))
assert os.path.isfile(test_path) assert os.path.isfile(test_path)
create_secure_file(test_path) create_secure_file(test_path) # test fails if any exceptions are thrown
def test_create_secure_file__no_parent_dir(test_path_nested): def test_create_secure_file__no_parent_dir(test_path_nested):