Skip to content

Commit 5d5d7f6

Browse files
committed
Fix test
1 parent fd74fd2 commit 5d5d7f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/test_housekeeper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_keep_branches_override(csv_file: Generator[str]) -> None:
4747
pytest.skip("No branches in Community")
4848
opts = f"{CMD} {tutil.SQS_OPTS} -P 730 -T 730 -R 730 -B 90 -f {csv_file}"
4949
assert tutil.run_cmd(housekeeper.main, opts) == errcodes.OK
50-
nbr_br = tutil.csv_col_count_values(csv_file, "Audit Check", "BRANCH_LAST_ANALYSIS")
50+
nbr_br = tutil.csv_col_count_values(csv_file, "Problem", "BRANCH_LAST_ANALYSIS")
5151
assert tutil.run_cmd(housekeeper.main, f"{opts} --keepWhenInactive 'dontkeepanything'") == errcodes.OK
5252
# With 'dontkeepanything' as branch regexp, more branches to delete should be found
53-
assert tutil.csv_col_count_values(csv_file, "Audit Check", "BRANCH_LAST_ANALYSIS") > nbr_br
53+
assert tutil.csv_col_count_values(csv_file, "Problem", "BRANCH_LAST_ANALYSIS") > nbr_br

0 commit comments

Comments
 (0)