Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX committed Oct 25, 2023
1 parent 0931184 commit 9a43fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cyclient/mocked_responses/scan_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def get_scan_detections_url(scan_client: ScanClient) -> str:
def get_scan_detections_response(url: str, scan_id: UUID, zip_content_path: Path) -> responses.Response:
with open(MOCKED_RESPONSES_PATH.joinpath('detections.json'), encoding='UTF-8') as f:
content = f.read()
content = content.replace('%FILEPATH%', str(zip_content_path.absolute()))
content = content.replace('%FILEPATH%', str(zip_content_path.absolute().as_posix()))
content = content.replace('%SCAN_ID%', str(scan_id))

json_response = json.loads(content)
Expand Down

0 comments on commit 9a43fc9

Please sign in to comment.