Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Sep 4, 2024
1 parent d5f83c9 commit 5bc2052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/streaming_cli_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_dandiset_streaming_cli_saved_report(tmpdir: py.path.local):
expected_report = io.readlines()

# Different platforms maybe have different indices for start and end of test reports
report_start = test_report.index(f"0 CRITICAL{os.linesep}")
report_start = test_report.index(f"0 CRITICAL\n")
expected_report_length = 38
report_end = report_start + expected_report_length
assert test_report[report_start:report_end] == expected_report[14:]
Expand Down Expand Up @@ -107,7 +107,7 @@ def test_dandiset_streaming_cli_with_version_saved_report(tmpdir: py.path.local)
expected_report = io.readlines()

# Different platforms maybe have different indices for start and end of test reports
report_start = test_report.index(f"0 CRITICAL{os.linesep}")
report_start = test_report.index(f"0 CRITICAL\n")
expected_report_length = 38
report_end = report_start + expected_report_length
assert test_report[report_start:report_end] == expected_report[14:]

0 comments on commit 5bc2052

Please sign in to comment.