mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Revert a project unit test
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user