Skip to content

Commit b72696c

Browse files
committed
update testcase
1 parent 349db07 commit b72696c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
from domaintools.cli import dt_cli
99
from domaintools._version import current
1010

11-
from tests.settings import vcr
12-
1311
runner = CliRunner()
1412

1513

@@ -24,7 +22,7 @@ def test_valid_command():
2422
user = os.environ.get("TEST_USER", "test")
2523
key = os.environ.get("TEST_KEY", "key")
2624
result = runner.invoke(dt_cli, ["account_information", "--help"])
27-
assert "About to execute command: `account_information`" in result.stdout
25+
assert "Usage: main account_information" in result.stdout
2826

2927

3028
def test_invalid_command():

0 commit comments

Comments
 (0)