Skip to content

Commit

Permalink
basic tests for the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmpercussion committed Jun 26, 2024
1 parent 56d6b6a commit d01ec83
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions impsy/tests/test_commands.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from click.testing import CliRunner
from impsy.impsy import cli


def test_main_command():
runner = CliRunner()
result = runner.invoke(cli)
assert result.exit_code == 0

def test_model_test_command():
runner = CliRunner()
result = runner.invoke(cli, ['test-mdrnn'])
# assert result.exit_code == 0

0 comments on commit d01ec83

Please sign in to comment.