update process_letter tests

This commit is contained in:
Leo Hemsted
2017-09-26 11:28:54 +01:00
parent f3db920c71
commit b1928b928c
4 changed files with 34 additions and 75 deletions

View File

@@ -592,7 +592,7 @@ def dao_set_created_live_letter_api_notifications_to_pending():
Notification.notification_type == LETTER_TYPE,
Notification.status == NOTIFICATION_CREATED,
Notification.key_type == KEY_TYPE_NORMAL,
Notification.api_key != None
Notification.api_key != None # noqa
).with_for_update(
).all()