tests: Add comment to `test_create_secure_directory__perm_windows()` explaining when it fails
This commit is contained in:
parent
d7565fc515
commit
91873343dd
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue