UT: Fix windows bug in test_t1107_telem.py

This commit is contained in:
vakarisz 2022-03-30 16:53:16 +03:00
parent 581ece577d
commit 72984bb3e3
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ import pytest
from common.utils.attack_utils import ScanStatus
from infection_monkey.telemetry.attack.t1107_telem import T1107Telem
PATH = "path/to/file.txt"
# Convert to path to fix path separators for current os
PATH = str(Path("path/to/file.txt"))
STATUS = ScanStatus.USED