Skip to content

Commit 62f42c4

Browse files
committed
fix: odnt use color in CLI test invocations
1 parent e006c9d commit 62f42c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_generate_template_multiple_states():
4646

4747
def test_cli_create_help():
4848
"""Test that help message works."""
49-
result = runner.invoke(app, ["create", "--help"])
49+
result = runner.invoke(app, ["create", "--help"], color=False)
5050
assert result.exit_code == 0
5151
assert "Create a new HDX-MS dataset" in result.stdout
5252
assert "--num-states" in result.stdout
@@ -57,6 +57,6 @@ def test_cli_create_help():
5757

5858
def test_app_help():
5959
"""Test main app help."""
60-
result = runner.invoke(app, ["--help"])
60+
result = runner.invoke(app, ["--help"], color=False)
6161
assert result.exit_code == 0
6262
assert "hdxms-datasets" in result.stdout

0 commit comments

Comments
 (0)