Skip to content

Commit

Permalink
more loose test
Browse files Browse the repository at this point in the history
  • Loading branch information
burnout87 committed Nov 20, 2023
1 parent 9151813 commit 93b33eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import re
from typing import ChainMap
from click.testing import CliRunner
import pytest
Expand Down Expand Up @@ -74,6 +75,8 @@ def test_get(dispatcher_live_fixture, caplog, monkeypatch, tmpdir):
result = runner.invoke(cli.cli, ['-u', dispatcher_live_fixture, 'get'], obj={})
assert result.exit_code == 0

assert re.search(r"found instruments: \[.*\]", caplog.text)

Check warning on line 78 in tests/test_cli.py

View check run for this annotation

Codecov / codecov/patch

tests/test_cli.py#L78

Added line #L78 was not covered by tests

runner = CliRunner()
result = runner.invoke(cli.cli, ['-u', dispatcher_live_fixture, 'get', '-i', 'empty'], obj={})
assert result.exit_code == 0
Expand Down

0 comments on commit 93b33eb

Please sign in to comment.