Test: Skip test_new_user_delete_windows on Linux

This commit is contained in:
Mike Salvatore 2021-08-31 10:41:38 -04:00
parent 2f5e6b516a
commit e133baea09
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import os
import subprocess
import pytest
@ -27,6 +28,7 @@ class StubLogonUser:
return None
@pytest.mark.skipif(os.name == "posix", reason="This test only runs on Windows.")
def test_new_user_delete_windows(subprocess_check_output_spy, monkeypatch):
monkeypatch.setattr(
"infection_monkey.utils.windows.users.win32security.LogonUser",