Fix fstring syntax error

This commit is contained in:
Matthias 2021-01-16 10:05:47 +01:00
parent 9f338ba6ed
commit 572f5f9186

View File

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