From a6d068a984488e9d76ed20486446d62bf31a14dc Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 13 Jan 2015 08:50:37 -0500 Subject: [PATCH] Add oslo.messaging._drivers.common for heat tests Some of the heat unit tests import code from a private part of oslo.messaging. With the namespace package change, that private part was no longer being exposed. This change introduces the needed module so we can release oslo.messaging with the namespace changes without breaking heat, to give the heat team time to update their tests. Partial-Bug: #1410196 Change-Id: Ib3ea106646f75b17665877b08ccbd382c5698714 --- oslo/messaging/_drivers/__init__.py | 0 oslo/messaging/_drivers/common.py | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 oslo/messaging/_drivers/__init__.py create mode 100644 oslo/messaging/_drivers/common.py diff --git a/oslo/messaging/_drivers/__init__.py b/oslo/messaging/_drivers/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/oslo/messaging/_drivers/common.py b/oslo/messaging/_drivers/common.py new file mode 100644 index 000000000..12f8b095c --- /dev/null +++ b/oslo/messaging/_drivers/common.py @@ -0,0 +1,16 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +# TODO(dhellmann): This private package and these imports can be +# removed after heat fixes their tests. See +# https://bugs.launchpad.net/oslo.messaging/+bug/1410196. +from oslo_messaging._drivers.common import * # noqa