GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit e9d5bb08 authored by juga  's avatar juga
Browse files

fix: test: Assert that caplog messages were found

parent 1e094500
......@@ -19,5 +19,9 @@ def test_total_measured_percent(conf, caplog):
assert hbeat.previous_measurement_percent == 67
caplog.records[1].getMessage().find("Measured in total 2 (67%)")
caplog.records[2].getMessage().find("1 relays still not measured")
assert 0 == caplog.records[1].getMessage().find(
"Measured in total 2 (67%)"
assert 0 == caplog.records[2].getMessage().find(
"1 relays still not measured"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment