mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -03:30
Add missing .all() from filter removal
This commit is contained in:
@@ -1242,7 +1242,7 @@ class ProjectUpdatesTest(BaseTransactionTest):
|
|||||||
else:
|
else:
|
||||||
self.check_project_update(project, should_fail=should_still_fail)
|
self.check_project_update(project, should_fail=should_still_fail)
|
||||||
# Test that we can delete project updates.
|
# 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,))
|
pu_url = reverse('api:project_update_detail', args=(pu.pk,))
|
||||||
with self.current_user(self.super_django_user):
|
with self.current_user(self.super_django_user):
|
||||||
self.delete(pu_url, expect=204)
|
self.delete(pu_url, expect=204)
|
||||||
|
|||||||
Reference in New Issue
Block a user