From 443b66e9d9f404e808ce0c91f3bb126f184ae0d6 Mon Sep 17 00:00:00 2001 From: shreyamalviya Date: Mon, 14 Jun 2021 23:43:05 +0530 Subject: [PATCH] tests: Remove accidental code in `_get_acl_and_sid_from_path()` in test_utils.py --- .../tests/unit_tests/monkey_island/cc/environment/test_utils.py | 2 -- 1 file changed, 2 deletions(-) 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 90b65c4ec..c3a8b39b1 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 @@ -32,8 +32,6 @@ def test_path(tmpdir): def _get_acl_and_sid_from_path(path: str): - create_secure_file(path) - sid, _, _ = win32security.LookupAccountName("", win32api.GetUserName()) security_descriptor = win32security.GetNamedSecurityInfo( path, win32security.SE_FILE_OBJECT, win32security.DACL_SECURITY_INFORMATION