Add missing .all() from filter removal

This commit is contained in:
Akita Noek 2016-03-21 22:29:16 -04:00
parent c7234f42c7
commit 7d932b6633

View File

@ -1242,7 +1242,7 @@ class ProjectUpdatesTest(BaseTransactionTest):
else:
self.check_project_update(project, should_fail=should_still_fail)
# Test that we can delete project updates.
for pu in project.project_updates:
for pu in project.project_updates.all():
pu_url = reverse('api:project_update_detail', args=(pu.pk,))
with self.current_user(self.super_django_user):
self.delete(pu_url, expect=204)