os-service-types/os_service_types/tests
Colleen Murphy 93729fcfcf Use keystoneauth only in applicable test
keystoneauth uses os-service-types as a run time dependency.
os-service-types uses keystoneauth as a testing dependency. This causes
an issue for packagers: in order to run the unit tests at build time,
an os-service-types package must include keystoneauth as a build
dependency, but since keystoneauth includes os-service-types as a run
time dependency, it causes a circular dependency.

To make it easier on packagers, this patch changes the usage of
keystoneauth in the tests to only be used by the TestRemote class
instead of the base TestCase class. This way, a packager could avoid
including keystoneauth as a build dependency by choosing to skip just
the problematic os-service-types test instead of skipping the entire
test suite.

Change-Id: I7f8da9c09f20ae808e1dc7aef2341396d91e7cf4
2018-09-05 11:25:11 +02:00
..
__init__.py Add cookiecutter boilerplate 2017-07-14 13:43:28 -04:00
base.py Use keystoneauth only in applicable test 2018-09-05 11:25:11 +02:00
test_builtin.py Implement fetching and accessor methods 2017-07-19 13:18:14 +09:00
test_match.py Throw an exception on conflicting arguments 2017-07-24 05:46:43 +08:00
test_misc.py Fix service_type normalization 2018-08-06 10:52:53 -05:00
test_remote.py Use keystoneauth only in applicable test 2018-09-05 11:25:11 +02:00
test_singleton.py Add factory helper function which returns a singleton 2018-01-12 11:20:50 -06:00
test_warn.py Add ability to warn on use of non-official types 2017-07-25 14:28:23 -04:00