We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a74a605 commit 85dda23Copy full SHA for 85dda23
tests/conftest.py
@@ -79,8 +79,9 @@ def run(self, *args: str) -> click.testing.Result:
79
80
@pytest.fixture
81
def runner(monkeypatch: pytest.MonkeyPatch, credentials: FakeCredentials) -> Runner:
82
- rich.reconfigure(width=80)
+ rich.reconfigure(width=80, no_color=True)
83
monkeypatch.setenv("COLUMNS", "80") # for future console instances
84
+ monkeypatch.setenv("NO_COLOR", "1")
85
monkeypatch.setenv(cli.API_USER_ENV_VAR, credentials.USERNAME)
86
monkeypatch.setenv(cli.API_KEY_ENV_VAR, credentials.API_KEY)
87
return Runner(credentials.SHARECODE)
0 commit comments