Skip to content

Commit

Permalink
Disable colour to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jan 23, 2024
1 parent 46f649c commit 60c1d0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_norwegianblue.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def teardown_method(self) -> None:
_cache.filename = self.original__cache_filename
_cache.save = self.original__save_cache

@mock.patch.dict(os.environ, {"NO_COLOR": "TRUE"})
@respx.mock
@pytest.mark.parametrize(
"test_format, test_show_title, expected",
Expand Down Expand Up @@ -98,6 +99,7 @@ def test_norwegianblue_formats(
# Assert
assert output.strip() == expected.strip()

@mock.patch.dict(os.environ, {"NO_COLOR": "TRUE"})
@respx.mock
@pytest.mark.parametrize(
"test_product, sample_response, expected",
Expand Down

0 comments on commit 60c1d0b

Please sign in to comment.