summaryrefslogtreecommitdiff
path: root/oslotest
diff options
context:
space:
mode:
authorThomas Bechtold <tbechtold@suse.com>2017-08-21 11:36:48 +0200
committerThomas Bechtold <tbechtold@suse.com>2017-08-21 12:01:40 +0200
commit4688f76b21413ed736045bdf402ec02058813d98 (patch)
treefdf7dc2b6ef00db29c47c73101f259fdeeee22c5 /oslotest
parentf23f61b8d403596dea9135cd101ab83f49d1a5ba (diff)
downloadoslotest-4688f76b21413ed736045bdf402ec02058813d98.tar.gz
Deprecate oslotest.functional
oslotest is a very basic module and should depend on as less as possible things. Currently oslotest.functional requires os-cloud-config which test-requires oslotest. Removing oslotest.functional solves this. Also oslotest.functional is not used anywhere. Change-Id: I553fc81a8ec55435004af27c4a34707cff9cf38d
Diffstat (limited to 'oslotest')
-rw-r--r--oslotest/functional.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/oslotest/functional.py b/oslotest/functional.py
index 32448a6..3a9c3ab 100644
--- a/oslotest/functional.py
+++ b/oslotest/functional.py
@@ -13,9 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+from debtcollector import removals
import os_client_config
+removals.removed_module("oslotest.functional",
+ version="2.9.0", removal_version="3.0",
+ message="oslotest.functional will be removed.")
+
+
def _get_openstack_auth(openstack_config, cloud_name, override_name):
try:
cloud_config = openstack_config.get_one_cloud(cloud_name)