Skip to content

Commit 007a167

Browse files
OCoppingadedamola-sode
authored andcommitted
Fix version test
1 parent dd4a54a commit 007a167

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_cli.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
main,
1717
)
1818
from techui_builder.schema_generator import app as schema_app
19-
from techui_builder.version import app as version_app
2019

2120
runner = CliRunner()
2221

@@ -33,7 +32,7 @@ def test_app():
3332

3433

3534
def test_app_version():
36-
result = runner.invoke(version_app)
35+
result = runner.invoke(app, ["--version"])
3736
assert result.exit_code == 0
3837
assert "techui-builder version:" in result.output
3938

0 commit comments

Comments
 (0)