Browse Source

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
changes/72/146872/2
Doug Hellmann 7 years ago
parent
commit
a6d068a984
2 changed files with 16 additions and 0 deletions
  1. +0
    -0
      oslo/messaging/_drivers/__init__.py
  2. +16
    -0
      oslo/messaging/_drivers/common.py

+ 0
- 0
oslo/messaging/_drivers/__init__.py View File


+ 16
- 0
oslo/messaging/_drivers/common.py View File

@ -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

Loading…
Cancel
Save