Skip to content

Commit

Permalink
chore: change tests for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed Dec 29, 2023
1 parent 4ffe56f commit cde9e90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Tests for CLI."""

import json
import platform
from pathlib import Path

import pytest
Expand Down Expand Up @@ -154,7 +155,9 @@ def test_proper_args(monaco_pbf_file_path: str, args: list[str], expected_result
print(result.stdout)

assert result.exit_code == 0
assert expected_result in result.stdout
assert (
expected_result if platform.system() != "Windows" else expected_result.replace("/", r"\\")
) in result.stdout


@P.parameters("args") # type: ignore
Expand Down

0 comments on commit cde9e90

Please sign in to comment.