From b29534abce39107ab96985acbacf292619bbaf92 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 9 Jul 2023 19:52:19 +0200 Subject: test: test empty CI run output, refactoring Meh, moving the shell code generation to Python I like better in the end. --- test/py/test_repo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/py/test_repo.py') 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', -- cgit v1.2.3