From e24538865f93d32b5b1306a202ce175100dbe806 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Wed, 19 Mar 2014 12:49:13 -0400 Subject: [PATCH] Revert a project unit test --- awx/main/tests/projects.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/main/tests/projects.py b/awx/main/tests/projects.py index a80864ea77..ba6f0b8479 100644 --- a/awx/main/tests/projects.py +++ b/awx/main/tests/projects.py @@ -1270,8 +1270,7 @@ class ProjectUpdatesTest(BaseTransactionTest): self.assertTrue(response['can_update']) with self.current_user(self.super_django_user): response = self.post(url, {}, expect=202) - time.sleep(15) - project_update = project.project_updates.filter(status='successful').order_by('-pk')[0] + project_update = project.project_updates.order_by('-pk') self.check_project_update(project, should_fail=None, project_update=project_update) # Verify that we responded to ssh-agent prompt.