Spurious test failure: test_create_notification
Thomas De Schampheleire
patrickdepinguin at gmail.com
Mon Jun 22 03:59:53 EDT 2015
Hi,
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
E Second list contains 1 additional elements.
E First extra element 0:
E <DB:Notification>
E
E - []
E + [<DB:Notification>]
Thanks,
Thomas
More information about the kallithea-general
mailing list