Spurious test failure: test_create_notification

Thomas De Schampheleire patrickdepinguin at gmail.com
Mon Jun 22 03:59:53 EDT 2015


I'm seeing a spurious test failure on test_create_notification.
Repeating the test makes it succeed.

Is anyone seeing the same? Any ideas on the cause?

I'm only starting to see this recently, so it must be caused by
a. a test change
b. switch to py.test (didn't try with nosetest yet)

kallithea/tests/models/test_notifications.py:48: in test_create_notification
    self.assertEqual([], Notification.query().all())
E   AssertionError: Lists differ: [] != [<DB:Notification>]
E   Second list contains 1 additional elements.
E   First extra element 0:
E   <DB:Notification>
E   - []
E   + [<DB:Notification>]


More information about the kallithea-general mailing list