diff options
author | Jamie Lennox <jamielennox@redhat.com> | 2015-02-11 19:03:25 +1100 |
---|---|---|
committer | Jamie Lennox <jamielennox@redhat.com> | 2015-02-11 19:03:25 +1100 |
commit | 6bd93179a2966f2b5c67e297628510ac73689fb3 (patch) | |
tree | faf3a93a16fb49b4a742f74b6fcdd20f8a0ebd0e /keystoneclient | |
parent | 58ac2de5d4a6b58e8bd5d430a04199a4d40427a8 (diff) | |
download | python-keystoneclient-6bd93179a2966f2b5c67e297628510ac73689fb3.tar.gz |
Move tests to the unit subdirectory
Move all the existing tests to the unit/ subdirectory. This gives us
some room to add a functional/ directory later with other tests.
Change-Id: I0fb8d5b628eb8ee1f35f05f42d0c0ac9f285e8c3
Implements: functional-testing
Diffstat (limited to 'keystoneclient')
-rw-r--r-- | keystoneclient/tests/unit/__init__.py (renamed from keystoneclient/tests/apiclient/__init__.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/apiclient/__init__.py (renamed from keystoneclient/tests/auth/__init__.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/apiclient/test_exceptions.py (renamed from keystoneclient/tests/apiclient/test_exceptions.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/__init__.py (renamed from keystoneclient/tests/generic/__init__.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/test_access.py (renamed from keystoneclient/tests/auth/test_access.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/test_cli.py (renamed from keystoneclient/tests/auth/test_cli.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/test_conf.py (renamed from keystoneclient/tests/auth/test_conf.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/test_identity_common.py (renamed from keystoneclient/tests/auth/test_identity_common.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/test_identity_v2.py (renamed from keystoneclient/tests/auth/test_identity_v2.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/test_identity_v3.py (renamed from keystoneclient/tests/auth/test_identity_v3.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/test_password.py (renamed from keystoneclient/tests/auth/test_password.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/test_token.py (renamed from keystoneclient/tests/auth/test_token.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/test_token_endpoint.py (renamed from keystoneclient/tests/auth/test_token_endpoint.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/auth/utils.py (renamed from keystoneclient/tests/auth/utils.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/client_fixtures.py (renamed from keystoneclient/tests/client_fixtures.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/generic/__init__.py (renamed from keystoneclient/tests/v2_0/__init__.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/generic/test_client.py (renamed from keystoneclient/tests/generic/test_client.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/generic/test_shell.py (renamed from keystoneclient/tests/generic/test_shell.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_auth_token_middleware.py (renamed from keystoneclient/tests/test_auth_token_middleware.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_base.py (renamed from keystoneclient/tests/test_base.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_cms.py (renamed from keystoneclient/tests/test_cms.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_discovery.py (renamed from keystoneclient/tests/test_discovery.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_ec2utils.py (renamed from keystoneclient/tests/test_ec2utils.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_fixtures.py (renamed from keystoneclient/tests/test_fixtures.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_hacking_checks.py (renamed from keystoneclient/tests/test_hacking_checks.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_http.py (renamed from keystoneclient/tests/test_http.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_https.py (renamed from keystoneclient/tests/test_https.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_keyring.py (renamed from keystoneclient/tests/test_keyring.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_memcache_crypt.py (renamed from keystoneclient/tests/test_memcache_crypt.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_s3_token_middleware.py (renamed from keystoneclient/tests/test_s3_token_middleware.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_session.py (renamed from keystoneclient/tests/test_session.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_shell.py (renamed from keystoneclient/tests/test_shell.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/test_utils.py (renamed from keystoneclient/tests/test_utils.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/utils.py (renamed from keystoneclient/tests/utils.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/__init__.py (renamed from keystoneclient/tests/v3/__init__.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/client_fixtures.py (renamed from keystoneclient/tests/v2_0/client_fixtures.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_access.py (renamed from keystoneclient/tests/v2_0/test_access.py) | 6 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_auth.py (renamed from keystoneclient/tests/v2_0/test_auth.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_certificates.py (renamed from keystoneclient/tests/v2_0/test_certificates.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_client.py (renamed from keystoneclient/tests/v2_0/test_client.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_discovery.py (renamed from keystoneclient/tests/v2_0/test_discovery.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_ec2.py (renamed from keystoneclient/tests/v2_0/test_ec2.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_endpoints.py (renamed from keystoneclient/tests/v2_0/test_endpoints.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_extensions.py (renamed from keystoneclient/tests/v2_0/test_extensions.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_roles.py (renamed from keystoneclient/tests/v2_0/test_roles.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_service_catalog.py (renamed from keystoneclient/tests/v2_0/test_service_catalog.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_services.py (renamed from keystoneclient/tests/v2_0/test_services.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_shell.py (renamed from keystoneclient/tests/v2_0/test_shell.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_tenants.py (renamed from keystoneclient/tests/v2_0/test_tenants.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_tokens.py (renamed from keystoneclient/tests/v2_0/test_tokens.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/test_users.py (renamed from keystoneclient/tests/v2_0/test_users.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v2_0/utils.py (renamed from keystoneclient/tests/v2_0/utils.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/__init__.py | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/client_fixtures.py (renamed from keystoneclient/tests/v3/client_fixtures.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/examples/xml/ADFS_RequestSecurityTokenResponse.xml (renamed from keystoneclient/tests/v3/examples/xml/ADFS_RequestSecurityTokenResponse.xml) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/examples/xml/ADFS_fault.xml (renamed from keystoneclient/tests/v3/examples/xml/ADFS_fault.xml) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/saml2_fixtures.py (renamed from keystoneclient/tests/v3/saml2_fixtures.py) | 0 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_access.py (renamed from keystoneclient/tests/v3/test_access.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_auth.py (renamed from keystoneclient/tests/v3/test_auth.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_auth_saml2.py (renamed from keystoneclient/tests/v3/test_auth_saml2.py) | 6 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_client.py (renamed from keystoneclient/tests/v3/test_client.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_credentials.py (renamed from keystoneclient/tests/v3/test_credentials.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_discover.py (renamed from keystoneclient/tests/v3/test_discover.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_domains.py (renamed from keystoneclient/tests/v3/test_domains.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_endpoint_filter.py (renamed from keystoneclient/tests/v3/test_endpoint_filter.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_endpoint_policy.py (renamed from keystoneclient/tests/v3/test_endpoint_policy.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_endpoints.py (renamed from keystoneclient/tests/v3/test_endpoints.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_federation.py (renamed from keystoneclient/tests/v3/test_federation.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_groups.py (renamed from keystoneclient/tests/v3/test_groups.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_oauth1.py (renamed from keystoneclient/tests/v3/test_oauth1.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_policies.py (renamed from keystoneclient/tests/v3/test_policies.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_projects.py (renamed from keystoneclient/tests/v3/test_projects.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_regions.py (renamed from keystoneclient/tests/v3/test_regions.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_role_assignments.py (renamed from keystoneclient/tests/v3/test_role_assignments.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_roles.py (renamed from keystoneclient/tests/v3/test_roles.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_service_catalog.py (renamed from keystoneclient/tests/v3/test_service_catalog.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_services.py (renamed from keystoneclient/tests/v3/test_services.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_tokens.py (renamed from keystoneclient/tests/v3/test_tokens.py) | 4 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_trusts.py (renamed from keystoneclient/tests/v3/test_trusts.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/test_users.py (renamed from keystoneclient/tests/v3/test_users.py) | 2 | ||||
-rw-r--r-- | keystoneclient/tests/unit/v3/utils.py (renamed from keystoneclient/tests/v3/utils.py) | 2 |
81 files changed, 84 insertions, 84 deletions
diff --git a/keystoneclient/tests/apiclient/__init__.py b/keystoneclient/tests/unit/__init__.py index e69de29..e69de29 100644 --- a/keystoneclient/tests/apiclient/__init__.py +++ b/keystoneclient/tests/unit/__init__.py diff --git a/keystoneclient/tests/auth/__init__.py b/keystoneclient/tests/unit/apiclient/__init__.py index e69de29..e69de29 100644 --- a/keystoneclient/tests/auth/__init__.py +++ b/keystoneclient/tests/unit/apiclient/__init__.py diff --git a/keystoneclient/tests/apiclient/test_exceptions.py b/keystoneclient/tests/unit/apiclient/test_exceptions.py index 1f1b1b2..4a803c7 100644 --- a/keystoneclient/tests/apiclient/test_exceptions.py +++ b/keystoneclient/tests/unit/apiclient/test_exceptions.py @@ -16,7 +16,7 @@ import six from keystoneclient import exceptions -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils class FakeResponse(object): diff --git a/keystoneclient/tests/generic/__init__.py b/keystoneclient/tests/unit/auth/__init__.py index e69de29..e69de29 100644 --- a/keystoneclient/tests/generic/__init__.py +++ b/keystoneclient/tests/unit/auth/__init__.py diff --git a/keystoneclient/tests/auth/test_access.py b/keystoneclient/tests/unit/auth/test_access.py index 04960cb..405fb8b 100644 --- a/keystoneclient/tests/auth/test_access.py +++ b/keystoneclient/tests/unit/auth/test_access.py @@ -17,7 +17,7 @@ from keystoneclient import auth from keystoneclient.auth.identity import access as access_plugin from keystoneclient import fixture from keystoneclient import session -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils class AccessInfoPluginTests(utils.TestCase): diff --git a/keystoneclient/tests/auth/test_cli.py b/keystoneclient/tests/unit/auth/test_cli.py index f2204ee..d65de73 100644 --- a/keystoneclient/tests/auth/test_cli.py +++ b/keystoneclient/tests/unit/auth/test_cli.py @@ -19,7 +19,7 @@ from oslo_config import cfg from keystoneclient.auth import base from keystoneclient.auth import cli -from keystoneclient.tests.auth import utils +from keystoneclient.tests.unit.auth import utils class TesterPlugin(base.BaseAuthPlugin): diff --git a/keystoneclient/tests/auth/test_conf.py b/keystoneclient/tests/unit/auth/test_conf.py index c8c9ece..c3ce8eb 100644 --- a/keystoneclient/tests/auth/test_conf.py +++ b/keystoneclient/tests/unit/auth/test_conf.py @@ -22,7 +22,7 @@ from keystoneclient.auth import conf from keystoneclient.auth.identity import v2 as v2_auth from keystoneclient.auth.identity import v3 as v3_auth from keystoneclient import exceptions -from keystoneclient.tests.auth import utils +from keystoneclient.tests.unit.auth import utils class ConfTests(utils.TestCase): diff --git a/keystoneclient/tests/auth/test_identity_common.py b/keystoneclient/tests/unit/auth/test_identity_common.py index e5b2528..db30bea 100644 --- a/keystoneclient/tests/auth/test_identity_common.py +++ b/keystoneclient/tests/unit/auth/test_identity_common.py @@ -22,7 +22,7 @@ from keystoneclient.auth import base from keystoneclient.auth import identity from keystoneclient import fixture from keystoneclient import session -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils @six.add_metaclass(abc.ABCMeta) diff --git a/keystoneclient/tests/auth/test_identity_v2.py b/keystoneclient/tests/unit/auth/test_identity_v2.py index 345f0bd..6d432a7 100644 --- a/keystoneclient/tests/auth/test_identity_v2.py +++ b/keystoneclient/tests/unit/auth/test_identity_v2.py @@ -16,7 +16,7 @@ import uuid from keystoneclient.auth.identity import v2 from keystoneclient import exceptions from keystoneclient import session -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils class V2IdentityPlugin(utils.TestCase): diff --git a/keystoneclient/tests/auth/test_identity_v3.py b/keystoneclient/tests/unit/auth/test_identity_v3.py index f1c7357..29cbb0e 100644 --- a/keystoneclient/tests/auth/test_identity_v3.py +++ b/keystoneclient/tests/unit/auth/test_identity_v3.py @@ -19,7 +19,7 @@ from keystoneclient import client from keystoneclient import exceptions from keystoneclient import fixture from keystoneclient import session -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils class V3IdentityPlugin(utils.TestCase): diff --git a/keystoneclient/tests/auth/test_password.py b/keystoneclient/tests/unit/auth/test_password.py index 8238d59..c5067c0 100644 --- a/keystoneclient/tests/auth/test_password.py +++ b/keystoneclient/tests/unit/auth/test_password.py @@ -15,7 +15,7 @@ import uuid from keystoneclient.auth.identity.generic import password from keystoneclient.auth.identity import v2 from keystoneclient.auth.identity import v3 -from keystoneclient.tests.auth import utils +from keystoneclient.tests.unit.auth import utils class PasswordTests(utils.GenericPluginTestCase): diff --git a/keystoneclient/tests/auth/test_token.py b/keystoneclient/tests/unit/auth/test_token.py index 9f0cc3c..928e2b2 100644 --- a/keystoneclient/tests/auth/test_token.py +++ b/keystoneclient/tests/unit/auth/test_token.py @@ -15,7 +15,7 @@ import uuid from keystoneclient.auth.identity.generic import token from keystoneclient.auth.identity import v2 from keystoneclient.auth.identity import v3 -from keystoneclient.tests.auth import utils +from keystoneclient.tests.unit.auth import utils class TokenTests(utils.GenericPluginTestCase): diff --git a/keystoneclient/tests/auth/test_token_endpoint.py b/keystoneclient/tests/unit/auth/test_token_endpoint.py index fa64b39..4b5f82c 100644 --- a/keystoneclient/tests/auth/test_token_endpoint.py +++ b/keystoneclient/tests/unit/auth/test_token_endpoint.py @@ -14,7 +14,7 @@ from testtools import matchers from keystoneclient.auth import token_endpoint from keystoneclient import session -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils class TokenEndpointTest(utils.TestCase): diff --git a/keystoneclient/tests/auth/utils.py b/keystoneclient/tests/unit/auth/utils.py index 31ed6e1..6580c73 100644 --- a/keystoneclient/tests/auth/utils.py +++ b/keystoneclient/tests/unit/auth/utils.py @@ -22,7 +22,7 @@ from keystoneclient.auth import base from keystoneclient import exceptions from keystoneclient import fixture from keystoneclient import session -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils class MockPlugin(base.BaseAuthPlugin): diff --git a/keystoneclient/tests/client_fixtures.py b/keystoneclient/tests/unit/client_fixtures.py index e97140f..b226e32 100644 --- a/keystoneclient/tests/client_fixtures.py +++ b/keystoneclient/tests/unit/client_fixtures.py @@ -25,7 +25,7 @@ from keystoneclient import utils TESTDIR = os.path.dirname(os.path.abspath(__file__)) -ROOTDIR = os.path.normpath(os.path.join(TESTDIR, '..', '..')) +ROOTDIR = os.path.normpath(os.path.join(TESTDIR, '..', '..', '..')) CERTDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'certs') CMSDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'cms') KEYDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'private') diff --git a/keystoneclient/tests/v2_0/__init__.py b/keystoneclient/tests/unit/generic/__init__.py index e69de29..e69de29 100644 --- a/keystoneclient/tests/v2_0/__init__.py +++ b/keystoneclient/tests/unit/generic/__init__.py diff --git a/keystoneclient/tests/generic/test_client.py b/keystoneclient/tests/unit/generic/test_client.py index 6100f0a..e56e3df 100644 --- a/keystoneclient/tests/generic/test_client.py +++ b/keystoneclient/tests/unit/generic/test_client.py @@ -16,7 +16,7 @@ from oslo_serialization import jsonutils from keystoneclient.generic import client -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils BASE_HOST = 'http://keystone.example.com' BASE_URL = "%s:5000/" % BASE_HOST diff --git a/keystoneclient/tests/generic/test_shell.py b/keystoneclient/tests/unit/generic/test_shell.py index 194c5b2..ad457aa 100644 --- a/keystoneclient/tests/generic/test_shell.py +++ b/keystoneclient/tests/unit/generic/test_shell.py @@ -17,7 +17,7 @@ import mock from six import moves from keystoneclient.generic import shell -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils class DoDiscoverTest(utils.TestCase): diff --git a/keystoneclient/tests/test_auth_token_middleware.py b/keystoneclient/tests/unit/test_auth_token_middleware.py index 9e0bad1..f3b523d 100644 --- a/keystoneclient/tests/test_auth_token_middleware.py +++ b/keystoneclient/tests/unit/test_auth_token_middleware.py @@ -41,8 +41,8 @@ from keystoneclient import exceptions from keystoneclient import fixture from keystoneclient.middleware import auth_token from keystoneclient.openstack.common import memorycache -from keystoneclient.tests import client_fixtures -from keystoneclient.tests import utils +from keystoneclient.tests.unit import client_fixtures +from keystoneclient.tests.unit import utils EXPECTED_V2_DEFAULT_ENV_RESPONSE = { diff --git a/keystoneclient/tests/test_base.py b/keystoneclient/tests/unit/test_base.py index 52435b8..2e7fc5e 100644 --- a/keystoneclient/tests/test_base.py +++ b/keystoneclient/tests/unit/test_base.py @@ -11,7 +11,7 @@ # under the License. from keystoneclient import base -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils from keystoneclient.v2_0 import client from keystoneclient.v2_0 import roles diff --git a/keystoneclient/tests/test_cms.py b/keystoneclient/tests/unit/test_cms.py index 9af3bd4..019730d 100644 --- a/keystoneclient/tests/test_cms.py +++ b/keystoneclient/tests/unit/test_cms.py @@ -20,8 +20,8 @@ from testtools import matchers from keystoneclient.common import cms from keystoneclient import exceptions -from keystoneclient.tests import client_fixtures -from keystoneclient.tests import utils +from keystoneclient.tests.unit import client_fixtures +from keystoneclient.tests.unit import utils class CMSTest(utils.TestCase, testresources.ResourcedTestCase): diff --git a/keystoneclient/tests/test_discovery.py b/keystoneclient/tests/unit/test_discovery.py index 9587f4b..6c208a3 100644 --- a/keystoneclient/tests/test_discovery.py +++ b/keystoneclient/tests/unit/test_discovery.py @@ -24,7 +24,7 @@ from keystoneclient import discover from keystoneclient import exceptions from keystoneclient import fixture from keystoneclient import session -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils from keystoneclient.v2_0 import client as v2_client from keystoneclient.v3 import client as v3_client diff --git a/keystoneclient/tests/test_ec2utils.py b/keystoneclient/tests/unit/test_ec2utils.py index 71fc176..71fc176 100644 --- a/keystoneclient/tests/test_ec2utils.py +++ b/keystoneclient/tests/unit/test_ec2utils.py diff --git a/keystoneclient/tests/test_fixtures.py b/keystoneclient/tests/unit/test_fixtures.py index 558d454..8080c82 100644 --- a/keystoneclient/tests/test_fixtures.py +++ b/keystoneclient/tests/unit/test_fixtures.py @@ -15,7 +15,7 @@ import uuid import six from keystoneclient import fixture -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils class V2TokenTests(utils.TestCase): diff --git a/keystoneclient/tests/test_hacking_checks.py b/keystoneclient/tests/unit/test_hacking_checks.py index 84095f3..220d258 100644 --- a/keystoneclient/tests/test_hacking_checks.py +++ b/keystoneclient/tests/unit/test_hacking_checks.py @@ -17,7 +17,7 @@ import pep8 import testtools from keystoneclient.hacking import checks -from keystoneclient.tests import client_fixtures +from keystoneclient.tests.unit import client_fixtures class TestCheckOsloNamespaceImports(testtools.TestCase): diff --git a/keystoneclient/tests/test_http.py b/keystoneclient/tests/unit/test_http.py index 118ad77..6dfceec 100644 --- a/keystoneclient/tests/test_http.py +++ b/keystoneclient/tests/unit/test_http.py @@ -20,7 +20,7 @@ from testtools import matchers from keystoneclient import exceptions from keystoneclient import httpclient from keystoneclient import session -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils RESPONSE_BODY = '{"hi": "there"}' diff --git a/keystoneclient/tests/test_https.py b/keystoneclient/tests/unit/test_https.py index f9618be..e574d37 100644 --- a/keystoneclient/tests/test_https.py +++ b/keystoneclient/tests/unit/test_https.py @@ -14,7 +14,7 @@ import mock import requests from keystoneclient import httpclient -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils FAKE_RESPONSE = utils.TestResponse({ diff --git a/keystoneclient/tests/test_keyring.py b/keystoneclient/tests/unit/test_keyring.py index 1179316..a54009e 100644 --- a/keystoneclient/tests/test_keyring.py +++ b/keystoneclient/tests/unit/test_keyring.py @@ -17,8 +17,8 @@ from oslo_utils import timeutils from keystoneclient import access from keystoneclient import httpclient -from keystoneclient.tests import utils -from keystoneclient.tests.v2_0 import client_fixtures +from keystoneclient.tests.unit import utils +from keystoneclient.tests.unit.v2_0 import client_fixtures try: import keyring # noqa diff --git a/keystoneclient/tests/test_memcache_crypt.py b/keystoneclient/tests/unit/test_memcache_crypt.py index be07b24..be07b24 100644 --- a/keystoneclient/tests/test_memcache_crypt.py +++ b/keystoneclient/tests/unit/test_memcache_crypt.py diff --git a/keystoneclient/tests/test_s3_token_middleware.py b/keystoneclient/tests/unit/test_s3_token_middleware.py index 037dcca..63f9e72 100644 --- a/keystoneclient/tests/test_s3_token_middleware.py +++ b/keystoneclient/tests/unit/test_s3_token_middleware.py @@ -20,7 +20,7 @@ import testtools import webob from keystoneclient.middleware import s3_token -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils GOOD_RESPONSE = {'access': {'token': {'id': 'TOKEN_ID', diff --git a/keystoneclient/tests/test_session.py b/keystoneclient/tests/unit/test_session.py index 06fb1c3..1d01c3a 100644 --- a/keystoneclient/tests/test_session.py +++ b/keystoneclient/tests/unit/test_session.py @@ -26,7 +26,7 @@ from keystoneclient import adapter from keystoneclient.auth import base from keystoneclient import exceptions from keystoneclient import session as client_session -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils class SessionTests(utils.TestCase): diff --git a/keystoneclient/tests/test_shell.py b/keystoneclient/tests/unit/test_shell.py index 842aa4e..452f9e7 100644 --- a/keystoneclient/tests/test_shell.py +++ b/keystoneclient/tests/unit/test_shell.py @@ -26,7 +26,7 @@ from testtools import matchers from keystoneclient import exceptions from keystoneclient import session from keystoneclient import shell as openstack_shell -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils from keystoneclient.v2_0 import shell as shell_v2_0 diff --git a/keystoneclient/tests/test_utils.py b/keystoneclient/tests/unit/test_utils.py index 01131e6..8f0de9b 100644 --- a/keystoneclient/tests/test_utils.py +++ b/keystoneclient/tests/unit/test_utils.py @@ -18,8 +18,8 @@ import testresources from testtools import matchers from keystoneclient import exceptions -from keystoneclient.tests import client_fixtures -from keystoneclient.tests import utils as test_utils +from keystoneclient.tests.unit import client_fixtures +from keystoneclient.tests.unit import utils as test_utils from keystoneclient import utils diff --git a/keystoneclient/tests/utils.py b/keystoneclient/tests/unit/utils.py index 038f34c..038f34c 100644 --- a/keystoneclient/tests/utils.py +++ b/keystoneclient/tests/unit/utils.py diff --git a/keystoneclient/tests/v3/__init__.py b/keystoneclient/tests/unit/v2_0/__init__.py index e69de29..e69de29 100644 --- a/keystoneclient/tests/v3/__init__.py +++ b/keystoneclient/tests/unit/v2_0/__init__.py diff --git a/keystoneclient/tests/v2_0/client_fixtures.py b/keystoneclient/tests/unit/v2_0/client_fixtures.py index 39d808e..39d808e 100644 --- a/keystoneclient/tests/v2_0/client_fixtures.py +++ b/keystoneclient/tests/unit/v2_0/client_fixtures.py diff --git a/keystoneclient/tests/v2_0/test_access.py b/keystoneclient/tests/unit/v2_0/test_access.py index b264b3c..f05f138 100644 --- a/keystoneclient/tests/v2_0/test_access.py +++ b/keystoneclient/tests/unit/v2_0/test_access.py @@ -18,9 +18,9 @@ import testresources from keystoneclient import access from keystoneclient import fixture -from keystoneclient.tests import client_fixtures as token_data -from keystoneclient.tests.v2_0 import client_fixtures -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit import client_fixtures as token_data +from keystoneclient.tests.unit.v2_0 import client_fixtures +from keystoneclient.tests.unit.v2_0 import utils class AccessInfoTest(utils.TestCase, testresources.ResourcedTestCase): diff --git a/keystoneclient/tests/v2_0/test_auth.py b/keystoneclient/tests/unit/v2_0/test_auth.py index c4d5046..e61f5c8 100644 --- a/keystoneclient/tests/v2_0/test_auth.py +++ b/keystoneclient/tests/unit/v2_0/test_auth.py @@ -17,7 +17,7 @@ from oslo_serialization import jsonutils from oslo_utils import timeutils from keystoneclient import exceptions -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import client diff --git a/keystoneclient/tests/v2_0/test_certificates.py b/keystoneclient/tests/unit/v2_0/test_certificates.py index 432a304..fc19d81 100644 --- a/keystoneclient/tests/v2_0/test_certificates.py +++ b/keystoneclient/tests/unit/v2_0/test_certificates.py @@ -13,8 +13,8 @@ import testresources -from keystoneclient.tests import client_fixtures -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit import client_fixtures +from keystoneclient.tests.unit.v2_0 import utils class CertificateTests(utils.TestCase, testresources.ResourcedTestCase): diff --git a/keystoneclient/tests/v2_0/test_client.py b/keystoneclient/tests/unit/v2_0/test_client.py index d09f326..2700b31 100644 --- a/keystoneclient/tests/v2_0/test_client.py +++ b/keystoneclient/tests/unit/v2_0/test_client.py @@ -19,8 +19,8 @@ from keystoneclient.auth import token_endpoint from keystoneclient import exceptions from keystoneclient import fixture from keystoneclient import session -from keystoneclient.tests.v2_0 import client_fixtures -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import client_fixtures +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import client diff --git a/keystoneclient/tests/v2_0/test_discovery.py b/keystoneclient/tests/unit/v2_0/test_discovery.py index 7c4f320..348038a 100644 --- a/keystoneclient/tests/v2_0/test_discovery.py +++ b/keystoneclient/tests/unit/v2_0/test_discovery.py @@ -12,7 +12,7 @@ from keystoneclient.generic import client -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils class DiscoverKeystoneTests(utils.UnauthenticatedTestCase): diff --git a/keystoneclient/tests/v2_0/test_ec2.py b/keystoneclient/tests/unit/v2_0/test_ec2.py index cfb6fa8..e08d228 100644 --- a/keystoneclient/tests/v2_0/test_ec2.py +++ b/keystoneclient/tests/unit/v2_0/test_ec2.py @@ -10,7 +10,7 @@ # License for the specific language governing permissions and limitations # under the License. -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import ec2 diff --git a/keystoneclient/tests/v2_0/test_endpoints.py b/keystoneclient/tests/unit/v2_0/test_endpoints.py index 5272ca0..ffc1c65 100644 --- a/keystoneclient/tests/v2_0/test_endpoints.py +++ b/keystoneclient/tests/unit/v2_0/test_endpoints.py @@ -12,7 +12,7 @@ import uuid -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import endpoints diff --git a/keystoneclient/tests/v2_0/test_extensions.py b/keystoneclient/tests/unit/v2_0/test_extensions.py index 6a77a5d..d09943f 100644 --- a/keystoneclient/tests/v2_0/test_extensions.py +++ b/keystoneclient/tests/unit/v2_0/test_extensions.py @@ -10,7 +10,7 @@ # License for the specific language governing permissions and limitations # under the License. -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import extensions diff --git a/keystoneclient/tests/v2_0/test_roles.py b/keystoneclient/tests/unit/v2_0/test_roles.py index bd27224..74ad1ed 100644 --- a/keystoneclient/tests/v2_0/test_roles.py +++ b/keystoneclient/tests/unit/v2_0/test_roles.py @@ -12,7 +12,7 @@ import uuid -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import roles diff --git a/keystoneclient/tests/v2_0/test_service_catalog.py b/keystoneclient/tests/unit/v2_0/test_service_catalog.py index bc219fd..e9ebf50 100644 --- a/keystoneclient/tests/v2_0/test_service_catalog.py +++ b/keystoneclient/tests/unit/v2_0/test_service_catalog.py @@ -12,8 +12,8 @@ from keystoneclient import access from keystoneclient import exceptions -from keystoneclient.tests.v2_0 import client_fixtures -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import client_fixtures +from keystoneclient.tests.unit.v2_0 import utils class ServiceCatalogTest(utils.TestCase): diff --git a/keystoneclient/tests/v2_0/test_services.py b/keystoneclient/tests/unit/v2_0/test_services.py index aec6811..2172745 100644 --- a/keystoneclient/tests/v2_0/test_services.py +++ b/keystoneclient/tests/unit/v2_0/test_services.py @@ -12,7 +12,7 @@ import uuid -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import services diff --git a/keystoneclient/tests/v2_0/test_shell.py b/keystoneclient/tests/unit/v2_0/test_shell.py index dd195ba..be91d23 100644 --- a/keystoneclient/tests/v2_0/test_shell.py +++ b/keystoneclient/tests/unit/v2_0/test_shell.py @@ -19,7 +19,7 @@ import six from testtools import matchers from keystoneclient import fixture -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils DEFAULT_USERNAME = 'username' diff --git a/keystoneclient/tests/v2_0/test_tenants.py b/keystoneclient/tests/unit/v2_0/test_tenants.py index 4449261..62ca398 100644 --- a/keystoneclient/tests/v2_0/test_tenants.py +++ b/keystoneclient/tests/unit/v2_0/test_tenants.py @@ -14,7 +14,7 @@ import uuid from keystoneclient import exceptions from keystoneclient import fixture -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import client from keystoneclient.v2_0 import tenants from keystoneclient.v2_0 import users diff --git a/keystoneclient/tests/v2_0/test_tokens.py b/keystoneclient/tests/unit/v2_0/test_tokens.py index f1a3b34..8a40f82 100644 --- a/keystoneclient/tests/v2_0/test_tokens.py +++ b/keystoneclient/tests/unit/v2_0/test_tokens.py @@ -15,7 +15,7 @@ import uuid from keystoneclient import access from keystoneclient import exceptions from keystoneclient import fixture -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import client from keystoneclient.v2_0 import tokens diff --git a/keystoneclient/tests/v2_0/test_users.py b/keystoneclient/tests/unit/v2_0/test_users.py index 81598df..455ca3c 100644 --- a/keystoneclient/tests/v2_0/test_users.py +++ b/keystoneclient/tests/unit/v2_0/test_users.py @@ -12,7 +12,7 @@ import uuid -from keystoneclient.tests.v2_0 import utils +from keystoneclient.tests.unit.v2_0 import utils from keystoneclient.v2_0 import roles from keystoneclient.v2_0 import users diff --git a/keystoneclient/tests/v2_0/utils.py b/keystoneclient/tests/unit/v2_0/utils.py index 7132236..475181f 100644 --- a/keystoneclient/tests/v2_0/utils.py +++ b/keystoneclient/tests/unit/v2_0/utils.py @@ -10,7 +10,7 @@ # License for the specific language governing permissions and limitations # under the License. -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils from keystoneclient.v2_0 import client TestResponse = utils.TestResponse diff --git a/keystoneclient/tests/unit/v3/__init__.py b/keystoneclient/tests/unit/v3/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/keystoneclient/tests/unit/v3/__init__.py diff --git a/keystoneclient/tests/v3/client_fixtures.py b/keystoneclient/tests/unit/v3/client_fixtures.py index 517f9ae..517f9ae 100644 --- a/keystoneclient/tests/v3/client_fixtures.py +++ b/keystoneclient/tests/unit/v3/client_fixtures.py diff --git a/keystoneclient/tests/v3/examples/xml/ADFS_RequestSecurityTokenResponse.xml b/keystoneclient/tests/unit/v3/examples/xml/ADFS_RequestSecurityTokenResponse.xml index 487bcac..487bcac 100644 --- a/keystoneclient/tests/v3/examples/xml/ADFS_RequestSecurityTokenResponse.xml +++ b/keystoneclient/tests/unit/v3/examples/xml/ADFS_RequestSecurityTokenResponse.xml diff --git a/keystoneclient/tests/v3/examples/xml/ADFS_fault.xml b/keystoneclient/tests/unit/v3/examples/xml/ADFS_fault.xml index 913252e..913252e 100644 --- a/keystoneclient/tests/v3/examples/xml/ADFS_fault.xml +++ b/keystoneclient/tests/unit/v3/examples/xml/ADFS_fault.xml diff --git a/keystoneclient/tests/v3/saml2_fixtures.py b/keystoneclient/tests/unit/v3/saml2_fixtures.py index 2ecae6a..2ecae6a 100644 --- a/keystoneclient/tests/v3/saml2_fixtures.py +++ b/keystoneclient/tests/unit/v3/saml2_fixtures.py diff --git a/keystoneclient/tests/v3/test_access.py b/keystoneclient/tests/unit/v3/test_access.py index ba9c2b7..d3107af 100644 --- a/keystoneclient/tests/v3/test_access.py +++ b/keystoneclient/tests/unit/v3/test_access.py @@ -17,8 +17,8 @@ from oslo_utils import timeutils from keystoneclient import access from keystoneclient import fixture -from keystoneclient.tests.v3 import client_fixtures -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import client_fixtures +from keystoneclient.tests.unit.v3 import utils TOKEN_RESPONSE = utils.TestResponse({ diff --git a/keystoneclient/tests/v3/test_auth.py b/keystoneclient/tests/unit/v3/test_auth.py index 59f5de5..506b026 100644 --- a/keystoneclient/tests/v3/test_auth.py +++ b/keystoneclient/tests/unit/v3/test_auth.py @@ -13,7 +13,7 @@ from oslo_serialization import jsonutils from keystoneclient import exceptions -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import client diff --git a/keystoneclient/tests/v3/test_auth_saml2.py b/keystoneclient/tests/unit/v3/test_auth_saml2.py index c2579c8..c54cf24 100644 --- a/keystoneclient/tests/v3/test_auth_saml2.py +++ b/keystoneclient/tests/unit/v3/test_auth_saml2.py @@ -22,9 +22,9 @@ from keystoneclient.auth import conf from keystoneclient.contrib.auth.v3 import saml2 from keystoneclient import exceptions from keystoneclient import session -from keystoneclient.tests.v3 import client_fixtures -from keystoneclient.tests.v3 import saml2_fixtures -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import client_fixtures +from keystoneclient.tests.unit.v3 import saml2_fixtures +from keystoneclient.tests.unit.v3 import utils ROOTDIR = os.path.dirname(os.path.abspath(__file__)) XMLDIR = os.path.join(ROOTDIR, 'examples', 'xml/') diff --git a/keystoneclient/tests/v3/test_client.py b/keystoneclient/tests/unit/v3/test_client.py index e1a8542..6be09c1 100644 --- a/keystoneclient/tests/v3/test_client.py +++ b/keystoneclient/tests/unit/v3/test_client.py @@ -19,8 +19,8 @@ import six from keystoneclient.auth import token_endpoint from keystoneclient import exceptions from keystoneclient import session -from keystoneclient.tests.v3 import client_fixtures -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import client_fixtures +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import client diff --git a/keystoneclient/tests/v3/test_credentials.py b/keystoneclient/tests/unit/v3/test_credentials.py index 5dad49c..752f25a 100644 --- a/keystoneclient/tests/v3/test_credentials.py +++ b/keystoneclient/tests/unit/v3/test_credentials.py @@ -12,7 +12,7 @@ import uuid -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import credentials diff --git a/keystoneclient/tests/v3/test_discover.py b/keystoneclient/tests/unit/v3/test_discover.py index 4a1dee3..f73c3d7 100644 --- a/keystoneclient/tests/v3/test_discover.py +++ b/keystoneclient/tests/unit/v3/test_discover.py @@ -11,7 +11,7 @@ # under the License. from keystoneclient.generic import client -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils class DiscoverKeystoneTests(utils.UnauthenticatedTestCase): diff --git a/keystoneclient/tests/v3/test_domains.py b/keystoneclient/tests/unit/v3/test_domains.py index 38ad8e4..9cc23e7 100644 --- a/keystoneclient/tests/v3/test_domains.py +++ b/keystoneclient/tests/unit/v3/test_domains.py @@ -12,7 +12,7 @@ import uuid -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import domains diff --git a/keystoneclient/tests/v3/test_endpoint_filter.py b/keystoneclient/tests/unit/v3/test_endpoint_filter.py index 867193a..eaca264 100644 --- a/keystoneclient/tests/v3/test_endpoint_filter.py +++ b/keystoneclient/tests/unit/v3/test_endpoint_filter.py @@ -14,7 +14,7 @@ import uuid -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils class EndpointTestUtils(object): diff --git a/keystoneclient/tests/v3/test_endpoint_policy.py b/keystoneclient/tests/unit/v3/test_endpoint_policy.py index 5915910..ce9efb4 100644 --- a/keystoneclient/tests/v3/test_endpoint_policy.py +++ b/keystoneclient/tests/unit/v3/test_endpoint_policy.py @@ -14,8 +14,8 @@ import uuid -from keystoneclient.tests.v3 import test_endpoint_filter -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import test_endpoint_filter +from keystoneclient.tests.unit.v3 import utils class EndpointPolicyTests(utils.TestCase, diff --git a/keystoneclient/tests/v3/test_endpoints.py b/keystoneclient/tests/unit/v3/test_endpoints.py index 5319373..000718a 100644 --- a/keystoneclient/tests/v3/test_endpoints.py +++ b/keystoneclient/tests/unit/v3/test_endpoints.py @@ -13,7 +13,7 @@ import uuid from keystoneclient import exceptions -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import endpoints diff --git a/keystoneclient/tests/v3/test_federation.py b/keystoneclient/tests/unit/v3/test_federation.py index eed6680..19ec44f 100644 --- a/keystoneclient/tests/v3/test_federation.py +++ b/keystoneclient/tests/unit/v3/test_federation.py @@ -16,7 +16,7 @@ import uuid from keystoneclient import access from keystoneclient import exceptions from keystoneclient import fixture -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3.contrib.federation import base from keystoneclient.v3.contrib.federation import identity_providers from keystoneclient.v3.contrib.federation import mappings diff --git a/keystoneclient/tests/v3/test_groups.py b/keystoneclient/tests/unit/v3/test_groups.py index 7fa0870..6ed140c 100644 --- a/keystoneclient/tests/v3/test_groups.py +++ b/keystoneclient/tests/unit/v3/test_groups.py @@ -14,7 +14,7 @@ import uuid -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import groups diff --git a/keystoneclient/tests/v3/test_oauth1.py b/keystoneclient/tests/unit/v3/test_oauth1.py index 6248bd9..d259053 100644 --- a/keystoneclient/tests/v3/test_oauth1.py +++ b/keystoneclient/tests/unit/v3/test_oauth1.py @@ -20,8 +20,8 @@ from six.moves.urllib import parse as urlparse from testtools import matchers from keystoneclient import session -from keystoneclient.tests.v3 import client_fixtures -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import client_fixtures +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3.contrib.oauth1 import access_tokens from keystoneclient.v3.contrib.oauth1 import auth from keystoneclient.v3.contrib.oauth1 import consumers diff --git a/keystoneclient/tests/v3/test_policies.py b/keystoneclient/tests/unit/v3/test_policies.py index 45bce71..a7f8d8a 100644 --- a/keystoneclient/tests/v3/test_policies.py +++ b/keystoneclient/tests/unit/v3/test_policies.py @@ -12,7 +12,7 @@ import uuid -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import policies diff --git a/keystoneclient/tests/v3/test_projects.py b/keystoneclient/tests/unit/v3/test_projects.py index 4c38208..5d08bb2 100644 --- a/keystoneclient/tests/v3/test_projects.py +++ b/keystoneclient/tests/unit/v3/test_projects.py @@ -13,7 +13,7 @@ import uuid from keystoneclient import exceptions -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import projects diff --git a/keystoneclient/tests/v3/test_regions.py b/keystoneclient/tests/unit/v3/test_regions.py index 7f3343e..392f79f 100644 --- a/keystoneclient/tests/v3/test_regions.py +++ b/keystoneclient/tests/unit/v3/test_regions.py @@ -14,7 +14,7 @@ import uuid -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import regions diff --git a/keystoneclient/tests/v3/test_role_assignments.py b/keystoneclient/tests/unit/v3/test_role_assignments.py index f47d9ec..1a664c9 100644 --- a/keystoneclient/tests/v3/test_role_assignments.py +++ b/keystoneclient/tests/unit/v3/test_role_assignments.py @@ -11,7 +11,7 @@ # under the License. from keystoneclient import exceptions -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import role_assignments diff --git a/keystoneclient/tests/v3/test_roles.py b/keystoneclient/tests/unit/v3/test_roles.py index 151a337..2a71bf3 100644 --- a/keystoneclient/tests/v3/test_roles.py +++ b/keystoneclient/tests/unit/v3/test_roles.py @@ -15,7 +15,7 @@ import uuid from keystoneclient import exceptions -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import roles diff --git a/keystoneclient/tests/v3/test_service_catalog.py b/keystoneclient/tests/unit/v3/test_service_catalog.py index 7a96c3a..a187302 100644 --- a/keystoneclient/tests/v3/test_service_catalog.py +++ b/keystoneclient/tests/unit/v3/test_service_catalog.py @@ -12,8 +12,8 @@ from keystoneclient import access from keystoneclient import exceptions -from keystoneclient.tests.v3 import client_fixtures -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import client_fixtures +from keystoneclient.tests.unit.v3 import utils class ServiceCatalogTest(utils.TestCase): diff --git a/keystoneclient/tests/v3/test_services.py b/keystoneclient/tests/unit/v3/test_services.py index 5367241..40dde47 100644 --- a/keystoneclient/tests/v3/test_services.py +++ b/keystoneclient/tests/unit/v3/test_services.py @@ -12,7 +12,7 @@ import uuid -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import services diff --git a/keystoneclient/tests/v3/test_tokens.py b/keystoneclient/tests/unit/v3/test_tokens.py index 01f81a2..2c27fd0 100644 --- a/keystoneclient/tests/v3/test_tokens.py +++ b/keystoneclient/tests/unit/v3/test_tokens.py @@ -16,8 +16,8 @@ import testresources from keystoneclient import access from keystoneclient import exceptions -from keystoneclient.tests import client_fixtures -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit import client_fixtures +from keystoneclient.tests.unit.v3 import utils class TokenTests(utils.TestCase, testresources.ResourcedTestCase): diff --git a/keystoneclient/tests/v3/test_trusts.py b/keystoneclient/tests/unit/v3/test_trusts.py index f72e164..fbd8fde 100644 --- a/keystoneclient/tests/v3/test_trusts.py +++ b/keystoneclient/tests/unit/v3/test_trusts.py @@ -16,7 +16,7 @@ import uuid from oslo_utils import timeutils from keystoneclient import exceptions -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3.contrib import trusts diff --git a/keystoneclient/tests/v3/test_users.py b/keystoneclient/tests/unit/v3/test_users.py index f11bef2..4645d6e 100644 --- a/keystoneclient/tests/v3/test_users.py +++ b/keystoneclient/tests/unit/v3/test_users.py @@ -15,7 +15,7 @@ import uuid from keystoneclient import exceptions -from keystoneclient.tests.v3 import utils +from keystoneclient.tests.unit.v3 import utils from keystoneclient.v3 import users diff --git a/keystoneclient/tests/v3/utils.py b/keystoneclient/tests/unit/v3/utils.py index f1b9934..7320687 100644 --- a/keystoneclient/tests/v3/utils.py +++ b/keystoneclient/tests/unit/v3/utils.py @@ -15,7 +15,7 @@ import uuid import six from six.moves.urllib import parse as urlparse -from keystoneclient.tests import utils +from keystoneclient.tests.unit import utils from keystoneclient.v3 import client |