Browse Source

Add more private symbols to the old namespace package

This patch exposes some private symbols used by the tests in nova and
heat.

Change-Id: Ide40b293c9b9c76aae094950720cead4179ea883
Partial-Bug: #1412812
Partial-Bug: #1412841
changes/36/148736/1
Doug Hellmann 7 years ago
parent
commit
76808973c3
  1. 0
      oslo/messaging/_executors/__init__.py
  2. 17
      oslo/messaging/_executors/base.py
  3. 13
      oslo/messaging/notify/_impl_test.py

0
oslo/messaging/_executors/__init__.py

17
oslo/messaging/_executors/base.py

@ -0,0 +1,17 @@
# 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.
from oslo_messaging._executors.base import * # noqa
# FIXME(dhellmann): Provide a dummy value so the mock in nova's unit
# test fixture works. See bug #1412841
POLL_TIMEOUT = 0.1

13
oslo/messaging/notify/_impl_test.py

@ -0,0 +1,13 @@
# 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.
from oslo_messaging.notify._impl_test import * # noqa
Loading…
Cancel
Save