diff --git a/tests/cli_test.py b/tests/cli_test.py index 6f3cc09..a6b0bd7 100644 --- a/tests/cli_test.py +++ b/tests/cli_test.py @@ -78,4 +78,14 @@ def test_init_db(tmp_path): ] backlog_column_names = [col[1] for col in backlog_columns] for expected_col in expected_backlog_columns: - assert expected_col in backlog_column_names \ No newline at end of file + assert expected_col in backlog_column_names + + +def test_list(tmp_path): + dataset_path = tmp_path / "test_dataset" + result = runner.invoke(app, ["init", "--dataset", str(dataset_path)]) + assert result.exit_code == 0 + result = runner.invoke(app, ["list", "--dataset", str(dataset_path), "ensembles"]) + assert result.exit_code == 0 + result = runner.invoke(app, ["list", "--dataset", str(dataset_path), "projects"]) + assert result.exit_code == 0