From 91873343dd94dbbb86ffcbf67feaf57cb5a833fe Mon Sep 17 00:00:00 2001 From: shreyamalviya Date: Tue, 15 Jun 2021 12:26:33 +0530 Subject: [PATCH] tests: Add comment to `test_create_secure_directory__perm_windows()` explaining when it fails --- .../tests/unit_tests/monkey_island/cc/environment/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/tests/unit_tests/monkey_island/cc/environment/test_utils.py b/monkey/tests/unit_tests/monkey_island/cc/environment/test_utils.py index c3a8b39b1..2c4262276 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/environment/test_utils.py +++ b/monkey/tests/unit_tests/monkey_island/cc/environment/test_utils.py @@ -78,7 +78,7 @@ def test_create_secure_directory__perm_windows(test_path): def test_create_secure_file__already_created(test_path): os.close(os.open(test_path, os.O_CREAT, 0o700)) 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):