Commit 9b1c96f0 authored by alexAubin's avatar alexAubin
Browse files

Fix test about could_be_deleted()

parent e0851ad4
Pipeline #65 failed with stage
in 2 minutes and 49 seconds
......@@ -473,7 +473,7 @@ class MemberManagerTest(TestCase):
@freeze_time('2016-10-01')
def test_could_be_deleted(self):
deletion_set = set(Member.objects.could_be_deleted())
deletion_set = set([m for m in Member.objects.all() if m.could_be_deleted()])
# late on fee (-> delete)
self.assertIn(self.cd, deletion_set)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment