@@ -997,7 +997,6 @@ def test_ListInviteCodes(db):
997997
998998
999999def test_reminders (db , moderator ):
1000- # the strong verification reminder's absence is tested in test_strong_verification.py
10011000 # reference writing reminders tested in test_AvailableWriteReferences_and_ListPendingReferencesToWrite
10021001 # we use LiteUser, so remember to refresh materialized views
10031002 user , token = generate_user (complete_profile = False )
@@ -1007,13 +1006,10 @@ def test_reminders(db, moderator):
10071006
10081007 refresh_materialized_views_rapid (empty_pb2 .Empty ())
10091008 with account_session (complete_token ) as account :
1010- assert [reminder .WhichOneof ("reminder" ) for reminder in account .GetReminders (empty_pb2 .Empty ()).reminders ] == [
1011- "complete_verification_reminder"
1012- ]
1009+ assert [reminder .WhichOneof ("reminder" ) for reminder in account .GetReminders (empty_pb2 .Empty ()).reminders ] == []
10131010 with account_session (token ) as account :
10141011 assert [reminder .WhichOneof ("reminder" ) for reminder in account .GetReminders (empty_pb2 .Empty ()).reminders ] == [
10151012 "complete_profile_reminder" ,
1016- "complete_verification_reminder" ,
10171013 ]
10181014
10191015 today_plus_2 = (today () + timedelta (days = 2 )).isoformat ()
@@ -1034,7 +1030,6 @@ def test_reminders(db, moderator):
10341030 assert [reminder .WhichOneof ("reminder" ) for reminder in reminders ] == [
10351031 "respond_to_host_request_reminder" ,
10361032 "complete_profile_reminder" ,
1037- "complete_verification_reminder" ,
10381033 ]
10391034 assert reminders [0 ].respond_to_host_request_reminder .host_request_id == host_request1_id
10401035 assert reminders [0 ].respond_to_host_request_reminder .surfer_user .user_id == req_user1 .id
@@ -1057,7 +1052,6 @@ def test_reminders(db, moderator):
10571052 "respond_to_host_request_reminder" ,
10581053 "respond_to_host_request_reminder" ,
10591054 "complete_profile_reminder" ,
1060- "complete_verification_reminder" ,
10611055 ]
10621056 assert reminders [0 ].respond_to_host_request_reminder .host_request_id == host_request1_id
10631057 assert reminders [0 ].respond_to_host_request_reminder .surfer_user .user_id == req_user1 .id
@@ -1083,7 +1077,6 @@ def test_reminders(db, moderator):
10831077 "respond_to_host_request_reminder" ,
10841078 "respond_to_host_request_reminder" ,
10851079 "complete_profile_reminder" ,
1086- "complete_verification_reminder" ,
10871080 ]
10881081 assert reminders [0 ].respond_to_host_request_reminder .host_request_id == host_request1_id
10891082 assert reminders [0 ].respond_to_host_request_reminder .surfer_user .user_id == req_user1 .id
@@ -1107,7 +1100,6 @@ def test_reminders(db, moderator):
11071100 "respond_to_host_request_reminder" ,
11081101 "respond_to_host_request_reminder" ,
11091102 "complete_profile_reminder" ,
1110- "complete_verification_reminder" ,
11111103 ]
11121104 assert reminders [0 ].respond_to_host_request_reminder .host_request_id == host_request2_id
11131105 assert reminders [0 ].respond_to_host_request_reminder .surfer_user .user_id == req_user2 .id
0 commit comments