diff --git a/tests/test_cli.py b/tests/test_cli.py index a2b03d0c..6e38fe8d 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,3 +1,4 @@ +import logging import re from typing import ChainMap from click.testing import CliRunner @@ -40,12 +41,13 @@ def test_inspect_state(dispatcher_live_fixture, monkeypatch, group_by_job): if group_by_job: args.append('--group-by-job') result = runner.invoke(cli.cli, args=args, obj={}) - + print(result) assert result.exit_code == 0 @pytest.mark.parametrize('token_placement', ['no', 'env', 'homedotfile', 'cwddotfile']) def test_token_inspect(token_placement, default_token, monkeypatch, caplog, tmpdir): + caplog.set_level(logging.DEBUG) # reset any existing token locations os.makedirs(tmpdir, exist_ok=True) monkeypatch.setenv('HOME', tmpdir)