Improve test reliability (fix fluky test)

This commit is contained in:
Matthias 2021-07-30 21:02:55 +02:00
parent 138b126d03
commit 35bf2a59a8

View File

@ -656,7 +656,7 @@ def test_api_logs(botclient):
# Help debugging random test failure
print(f"rc={rc.json()}")
print(f"rc1={rc1.json()}")
assert rc1.json()['log_count'] == 5
assert rc1.json()['log_count'] > 2
assert len(rc1.json()['logs']) == rc1.json()['log_count']