Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 7a8daa3

Browse files
author
David Robertson
committed
Correct an incorrect type assertion in tests
A copy-paste error from me.
1 parent 0832858 commit 7a8daa3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/storage/test_monthly_active_users.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ def test_user_last_seen_monthly_active(self):
174174
self.assertGreater(result, 0)
175175

176176
result = self.get_success(self.store.user_last_seen_monthly_active(user_id3))
177-
assert result is not None
178-
self.assertNotEqual(result, 0)
177+
self.assertIsNone(result)
179178

180179
@override_config({"max_mau_value": 5})
181180
def test_reap_monthly_active_users(self):

0 commit comments

Comments
 (0)