From 7d932b6633ffc321bfc30671df2a459b16586f05 Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Mon, 21 Mar 2016 22:29:16 -0400 Subject: [PATCH] Add missing .all() from filter removal --- awx/main/tests/old/projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tests/old/projects.py b/awx/main/tests/old/projects.py index db2a8d8b51..f938f34652 100644 --- a/awx/main/tests/old/projects.py +++ b/awx/main/tests/old/projects.py @@ -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)