

@mock.patch('nailgun.plugins.manager.PluginManager.get_enabled_plugins', return_value=[])
@mock.patch('nailgun.orchestrator.plugins_serializers.PluginsPreDeploymentHooksSerializer.deployment_tasks')
def test_serialize_end_tasks(self, m_deployment_tasks, m_get_enabled_plugins):
    self.hook.serialize_end_tasks()
    m_deployment_tasks.assert_called_once_with(self.cluster)
    m_deployment_tasks.assert_called_once_with([])

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/unit/test_plugins_serializers.py TestPluginsPreDeploymentHooksSerializer.test_serialize_end_tasks/VarMisuse@43/100 `m_get_enabled_plugins`->`m_deployment_tasks`