mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
fix silent traceback tests were causing
This commit is contained in:
parent
ea900b6f95
commit
69822391b3
@ -222,7 +222,7 @@ class TestJobExecution:
|
||||
self.run_pexpect.return_value = ['successful', 0]
|
||||
|
||||
self.patches = [
|
||||
mock.patch.object(CallbackQueueDispatcher, 'dispatch', lambda obj: None),
|
||||
mock.patch.object(CallbackQueueDispatcher, 'dispatch', lambda self, obj: None),
|
||||
mock.patch.object(Project, 'get_project_path', lambda *a, **kw: self.project_path),
|
||||
# don't emit websocket statuses; they use the DB and complicate testing
|
||||
mock.patch.object(UnifiedJob, 'websocket_emit_status', mock.Mock()),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user