Skip to content

Commit a090fba

Browse files
committed
Fix travis test
1 parent ca85e25 commit a090fba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/orchestrator/views/test_hooks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ def test_post_for_create_branch_event(self, m_handle_callback_hook):
223223

224224
# Then: Expected response is returned
225225
eq_(resp.status_code, 202)
226-
m_handle_callback_hook.delay.assert_called_once_with(
227-
u'mock_owner', u'mock_repo', u'develop', u'scm-create',
228-
u'github-create')
226+
m_handle_callback_hook.apply_async.assert_called_once_with(
227+
(u'mock_owner', u'mock_repo', u'develop', u'scm-create',
228+
u'github-create'), countdown=10)
229229

230230
@patch('orchestrator.views.hooks.handle_callback_hook')
231231
def test_post_for_create_non_branch_event(self, m_handle_callback_hook):

0 commit comments

Comments
 (0)