aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py/test_repo.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-09 19:52:19 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-09 20:10:19 +0200
commitb29534abce39107ab96985acbacf292619bbaf92 (patch)
treeaae117276846538184c9702dee351f8d7a3118c2 /test/py/test_repo.py
parentstore process output in SQLite (diff)
downloadcimple-b29534abce39107ab96985acbacf292619bbaf92.tar.gz
cimple-b29534abce39107ab96985acbacf292619bbaf92.zip
test: test empty CI run output, refactoring
Meh, moving the shell code generation to Python I like better in the end.
Diffstat (limited to 'test/py/test_repo.py')
-rw-r--r--test/py/test_repo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/test_repo.py b/test/py/test_repo.py
index 3e507c3..76aeef3 100644
--- a/test/py/test_repo.py
+++ b/test/py/test_repo.py
@@ -47,14 +47,14 @@ def _test_repo_internal(env, repo, numof_processes, runs_per_process):
for proc in processes:
proc.join()
- assert numof_runs == repo.count_ci_output_files()
+ assert numof_runs == repo.count_run_files()
runs = env.db.get_all_runs()
assert numof_runs == len(runs)
for id, status, ec, output, url, rev in runs:
assert status == 'finished', f'Invalid status for run {id}: {status}'
- assert repo.output_matches(output), f"Output doesn't match: {output}"
+ assert repo.run_output_matches(output), f"Output doesn't match: {output}"
@pytest.mark.parametrize('numof_clients,runs_per_client',