Rename ms_ext_config to fuel_ccp_entrypoint package

Change-Id: Iac055705a7c9de345c73828e6031aae45d2b8068
This commit is contained in:
Sergey Reshetnyak 2016-09-07 01:39:45 +03:00
parent de4ae974ba
commit 163c01a11e
8 changed files with 16 additions and 24 deletions

View File

@ -1,7 +1,7 @@
[run]
branch = True
source = ms_ext_config
omit = ms_ext_config/openstack/*
source = fuel_ccp_entrypoint
omit = fuel_ccp_entrypoint/openstack/*
[report]
ignore_errors = True

View File

@ -4,4 +4,4 @@ Usage
To use ms-ext-config in a project::
import ms_ext_config
import fuel_ccp_entrypoint

View File

@ -16,4 +16,4 @@ import pbr.version
__version__ = pbr.version.VersionInfo(
'ms_ext_config').version_string()
'fuel_ccp_entrypoint').version_string()

View File

@ -12,21 +12,13 @@
# License for the specific language governing permissions and limitations
# under the License.
"""
test_ms_ext_config
----------------------------------
Tests for `ms_ext_config` module.
"""
import os
import etcd
import mock
from ms_ext_config import start_script
from ms_ext_config.tests import base
from fuel_ccp_entrypoint import start_script
from fuel_ccp_entrypoint.tests import base
class TestGetIpAddress(base.TestCase):
@ -89,7 +81,7 @@ class TestGetVariables(base.TestCase):
@mock.patch('six.moves.builtins.open', mock.mock_open())
@mock.patch('json.load')
@mock.patch('ms_ext_config.start_script.create_network_topology')
@mock.patch('fuel_ccp_entrypoint.start_script.create_network_topology')
def test_get_variables(self, m_create_network_topology, m_json_load):
def side_effect(file_name):
return {'glob': 'glob_val'}

View File

@ -1,6 +1,6 @@
[metadata]
name = ms-ext-config
summary = OpenStack Boilerplate contains all the boilerplate you need to create an OpenStack package.
name = fuel-ccp-entrypoint
summary = Entrypoint script for CCP containers
description-file =
README.rst
author = OpenStack
@ -21,7 +21,7 @@ classifier =
[files]
packages =
ms_ext_config
fuel_ccp_entrypoint
[build_sphinx]
source-dir = doc/source
@ -32,15 +32,15 @@ all_files = 1
upload-dir = doc/build/html
[compile_catalog]
directory = ms_ext_config/locale
domain = ms_ext_config
directory = fuel_ccp_entrypoint/locale
domain = fuel_ccp_entrypoint
[update_catalog]
domain = ms_ext_config
output_dir = ms_ext_config/locale
input_file = ms_ext_config/locale/ms_ext_config.pot
domain = fuel_ccp_entrypoint
output_dir = fuel_ccp_entrypoint/locale
input_file = fuel_ccp_entrypoint/locale/fuel_ccp_entrypoint.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = ms_ext_config/locale/ms_ext_config.pot
output_file = fuel_ccp_entrypoint/locale/fuel_ccp_entrypoint.pot