Move api.api and api.utils to osc_lib
Imports changes only Change-Id: I3d521023075bab3666c7a982bb8d86180b0cefb6
This commit is contained in:
parent
59edb5108d
commit
de84ddacca
@ -10,6 +10,8 @@ has been done internally to better align modules.
|
|||||||
The complete list of public module name changes:
|
The complete list of public module name changes:
|
||||||
|
|
||||||
* ``openstackclient.i18n`` -> ``osc_lib.i18n``
|
* ``openstackclient.i18n`` -> ``osc_lib.i18n``
|
||||||
|
* ``openstackclient.api.api`` -> ``osc_lib.api.api``
|
||||||
|
* ``openstackclient.api.utils`` -> ``osc_lib.api.utils``
|
||||||
* ``openstackclient.common.command`` -> ``osc_lib.command.command``
|
* ``openstackclient.common.command`` -> ``osc_lib.command.command``
|
||||||
* ``openstackclient.common.commandmanager`` -> ``osc_lib.command.commandmanager``
|
* ``openstackclient.common.commandmanager`` -> ``osc_lib.command.commandmanager``
|
||||||
* ``openstackclient.common.exceptions`` -> ``osc_lib.exceptions``
|
* ``openstackclient.common.exceptions`` -> ``osc_lib.exceptions``
|
||||||
|
0
osc_lib/tests/api/__init__.py
Normal file
0
osc_lib/tests/api/__init__.py
Normal file
@ -13,10 +13,10 @@
|
|||||||
|
|
||||||
"""API Test Fakes"""
|
"""API Test Fakes"""
|
||||||
|
|
||||||
|
from keystoneauth1 import session
|
||||||
from requests_mock.contrib import fixture
|
from requests_mock.contrib import fixture
|
||||||
|
|
||||||
from keystoneauth1 import session
|
from osc_lib.tests import utils
|
||||||
from openstackclient.tests import utils
|
|
||||||
|
|
||||||
|
|
||||||
RESP_ITEM_1 = {
|
RESP_ITEM_1 = {
|
@ -13,9 +13,9 @@
|
|||||||
|
|
||||||
"""Base API Library Tests"""
|
"""Base API Library Tests"""
|
||||||
|
|
||||||
from openstackclient.api import api
|
from osc_lib.api import api
|
||||||
from openstackclient.common import exceptions
|
from osc_lib import exceptions
|
||||||
from openstackclient.tests.api import fakes as api_fakes
|
from osc_lib.tests.api import fakes as api_fakes
|
||||||
|
|
||||||
|
|
||||||
class TestKeystoneSession(api_fakes.TestSession):
|
class TestKeystoneSession(api_fakes.TestSession):
|
@ -15,9 +15,9 @@
|
|||||||
|
|
||||||
import copy
|
import copy
|
||||||
|
|
||||||
from openstackclient.api import api
|
from osc_lib.api import api
|
||||||
from openstackclient.api import utils as api_utils
|
from osc_lib.api import utils as api_utils
|
||||||
from openstackclient.tests.api import fakes as api_fakes
|
from osc_lib.tests.api import fakes as api_fakes
|
||||||
|
|
||||||
|
|
||||||
class TestBaseAPIFilter(api_fakes.TestSession):
|
class TestBaseAPIFilter(api_fakes.TestSession):
|
Loading…
x
Reference in New Issue
Block a user