mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Fix task_manager test
This commit is contained in:
parent
5b4dc9e7ee
commit
798d27c2cb
@ -52,7 +52,7 @@ class TestCleanupInconsistentCeleryTasks():
|
||||
logger_mock.error.assert_called_once_with("Task job 2 (failed) DB error in marking failed. Job possibly deleted.")
|
||||
|
||||
@mock.patch.object(InstanceGroup.objects, 'prefetch_related', return_value=[])
|
||||
@mock.patch('awx.main.scheduler.task_manager.inspect')
|
||||
@mock.patch('awx.main.scheduler.task_manager.Inspect')
|
||||
def test_multiple_active_instances_sanity_check(self, inspect_mock, *args):
|
||||
class MockInspector:
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user