

@mock.patch('nailgun.plugins.manager.PluginManager.get_enabled_plugins', return_value=[])
@mock.patch('nailgun.orchestrator.plugins_serializers.PluginsPreDeploymentHooksSerializer.create_repositories')
@mock.patch('nailgun.orchestrator.plugins_serializers.PluginsPreDeploymentHooksSerializer.sync_scripts')
def test_serialize_begin_tasks(self, m_sync_scripts, m_create_repositories, m_get_enabled_plugins):
    self.hook.serialize_begin_tasks()
    m_get_enabled_plugins.assert_called_once_with(m_get_enabled_plugins.cluster)
    m_create_repositories.assert_called_once_with([])
    m_sync_scripts.assert_called_once_with([])

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/unit/test_plugins_serializers.py TestPluginsPreDeploymentHooksSerializer.test_serialize_begin_tasks/VarMisuse@57/150 `self`->`m_get_enabled_plugins`