tests: update for new status check string (#35380)

This commit is contained in:
Frédéric Péters 2019-09-16 10:50:25 +02:00
parent 3d98363db7
commit bebce7b305
1 changed files with 1 additions and 1 deletions

View File

@ -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