further investigate random test failure

This commit is contained in:
Matthias 2021-01-21 19:20:38 +01:00
parent c998577d4a
commit c42241986e

View File

@ -529,7 +529,7 @@ def test_api_logs(botclient):
assert len(rc1.json()) == 2
assert 'logs' in rc1.json()
# Using a fixed comparison here would make this test fail!
if rc1.json()['log_count'] == 0:
if rc1.json()['log_count'] < 5:
# Help debugging random test failure
print(f"rc={rc.json()}")
print(f"rc1={rc1.json()}")