test/more #9
1 changed files with 11 additions and 1 deletions
commit
e81d10d08a
|
|
@ -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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue