From 33f4ce25750be8cc01e86b81745325fe23871afc Mon Sep 17 00:00:00 2001 From: YoshihitoAso Date: Mon, 6 Jan 2025 19:30:29 +0900 Subject: [PATCH] fix --- tests/app/test_notifications_ListAllNotifications.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/app/test_notifications_ListAllNotifications.py b/tests/app/test_notifications_ListAllNotifications.py index 2440230a..5f61b041 100644 --- a/tests/app/test_notifications_ListAllNotifications.py +++ b/tests/app/test_notifications_ListAllNotifications.py @@ -138,6 +138,7 @@ def test_normal_1(self, client, db): _notification_6.code = 1 _notification_6.metainfo = { "upload_id": str(uuid.uuid4()), + "token_address": test_token_address, "error_registration_id": [1, 2, 3], } _notification_6.created = datetime.strptime( @@ -307,7 +308,11 @@ def test_normal_1(self, client, db): "priority": 0, "notice_type": NotificationType.BATCH_REGISTER_PERSONAL_INFO_ERROR, "notice_code": 1, - "metainfo": {"upload_id": ANY, "error_registration_id": [1, 2, 3]}, + "metainfo": { + "upload_id": ANY, + "token_address": test_token_address, + "error_registration_id": [1, 2, 3], + }, "created": "2022-01-06T09:20:30+09:00", }, { @@ -460,7 +465,7 @@ def test_normal_2(self, client, db): resp = client.get( self.base_url, params={ - "notice_type": NotificationType.SCHEDULE_EVENT_ERROR.value, + "notice_type": NotificationType.SCHEDULE_EVENT_ERROR, }, headers={ "issuer-address": issuer_address_1,