The work we are doing in https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages is exposing places in several projects where private symbols are being imported and used directly.
running testr
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \
OS_DEBUG=${OS_DEBUG:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./designate/tests --list
--- import errors ---
Failed to import test module: designate.tests
Traceback (most recent call last):
File "/home/ubuntu/repos/openstack/designate/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 479, in _find_test_path
package = self._get_module_from_name(name)
File "/home/ubuntu/repos/openstack/designate/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 384, in _get_module_from_name
__import__(name)
File "designate/tests/__init__.py", line 28, in <module>
from oslo.messaging.notify import _impl_test as test_notifier
ImportError: cannot import name _impl_test
Non-zero exit code (2) from test listing.
Details: http:// lists.openstack .org/pipermail/ openstack- dev/2015- January/ 054810. html