forked from p15670423/monkey
tests: Remove accidental code in `_get_acl_and_sid_from_path()` in test_utils.py
This commit is contained in:
parent
1170b176d3
commit
443b66e9d9
|
@ -32,8 +32,6 @@ def test_path(tmpdir):
|
||||||
|
|
||||||
|
|
||||||
def _get_acl_and_sid_from_path(path: str):
|
def _get_acl_and_sid_from_path(path: str):
|
||||||
create_secure_file(path)
|
|
||||||
|
|
||||||
sid, _, _ = win32security.LookupAccountName("", win32api.GetUserName())
|
sid, _, _ = win32security.LookupAccountName("", win32api.GetUserName())
|
||||||
security_descriptor = win32security.GetNamedSecurityInfo(
|
security_descriptor = win32security.GetNamedSecurityInfo(
|
||||||
path, win32security.SE_FILE_OBJECT, win32security.DACL_SECURITY_INFORMATION
|
path, win32security.SE_FILE_OBJECT, win32security.DACL_SECURITY_INFORMATION
|
||||||
|
|
Loading…
Reference in New Issue