tests: update for new status check string (#35380)
This commit is contained in:
parent
3d98363db7
commit
bebce7b305
|
@ -155,7 +155,7 @@ def test_log_on_connector_availability_change(db, connector, freezer, notificati
|
|||
else:
|
||||
assert last_count2 == last_count1 + 1
|
||||
assert ResourceLog.objects.all()[2].level == 'error' if notification_delays != '0' else 'warning'
|
||||
assert (u'connector "éléphant" (Feed) is still down for 5 minutes: 404'
|
||||
assert (u'connector "éléphant" (Feed) has been down for 5 minutes: 404'
|
||||
in ResourceLog.objects.all()[2].message)
|
||||
|
||||
# move 3 minutes in the future
|
||||
|
|
Loading…
Reference in New Issue