

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)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/unit/test_logs_handlers.py TestLogs.test_snapshot_task_manager/original