def test_snapshot_task_manager(self): tm = DumpTaskManager() mock = Mock(return_value=None) tm._call_silently = mock task = tm.execute() mock.assert_called_once_with(task, DumpTask)
def test_snapshot_task_manager(self): tm = DumpTaskManager() m = mock.Mock(return_value=None) tm._call_silently = m task = tm.execute() m.assert_called_once_with(task, DumpTask, conf=None, auth_token=None)