Changed to use asserts methods in test, rather than print statements.
@@ -85,7 +85,8 @@ This is a wiki about...
""",
)
+ # Check all the Page events have the user_id.
for notification in NotificationLogReader(app.log).read(start=1):
domain_event = app.mapper.to_domain_event(notification)
if isinstance(domain_event, Page.Event):
- print(domain_event.__class__.__qualname__, domain_event.user_id)
+ self.assertEqual(domain_event.user_id, user_id)
