Skip to content

Commit

Permalink
blocked out some basic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmpercussion committed Aug 25, 2024
1 parent 7fadcb1 commit f0e1120
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,19 @@ def test_tflite_converter_command(models_location, keras_file, weights_file):
result = runner.invoke(cli, ["convert-tflite", "--out_dir", str(models_location)])
result = runner.invoke(cli, ["convert-tflite", "-model", str(keras_file),"--out_dir", str(models_location)])
result = runner.invoke(cli, ["convert-tflite", "-model", str(weights_file),"--out_dir", str(models_location)])

# def test_train_command():
# runner = CliRunner()
# result = runner.invoke(cli, ["train", "--out_dir", str(models_location)])

# def test_dataset_command():
# runner = CliRunner()
# result = runner.invoke(cli, ["dataset"])

def test_run_command():
runner = CliRunner()
result = runner.invoke(cli, ["run"])

def test_webui_command():
runner = CliRunner()
result = runner.invoke(cli, ["webui"])

0 comments on commit f0e1120

Please sign in to comment.