neutron/neutron/tests/functional
Ihar Hrachyshka 31e1aeb66b Forbid importing neutron.tests.* from outside tests subtree
neutron-sanity-check tool was importing neutron.tests.base module, which
may be not present on some systems (f.e. RDO splits neutron/tests/
subtree in a separate python-neutron-tests package). It made the tool
not usable in some setups.

https://bugzilla.redhat.com/show_bug.cgi?id=1374282

This is not the first time when we by mistake import from
neutron.tests.* and break distributions. It's time to stop it by
proactively forbidding that pattern via a new hacking check.

Some functions were moved from neutron.tests.base to
neutron.common.utils to fulfill the need requirement. They were moved
using debtcollector, no current consumers should be affected.

Closes-Bug: #1621782
Change-Id: I790777ddcbd1b02218b3db54ae3d5c931d72d4fa
2016-09-15 18:42:45 +00:00
..
agent Forbid importing neutron.tests.* from outside tests subtree 2016-09-15 18:42:45 +00:00
api Fix module's import order 2016-01-22 06:38:42 -08:00
cmd Refactoring config options for cmd 2016-07-31 04:37:29 +00:00
common Move wait_until_true to neutron.common.utils 2016-06-27 11:40:11 +00:00
db Merge "Remove availability range code and model" 2016-09-14 02:14:46 +00:00
pecan_wsgi Make DHCP notifier use core resource events 2016-09-14 00:40:09 -07:00
plugins Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
sanity Merge "Remove unnecessary setUp and resource_setup" 2016-09-01 22:52:28 +00:00
scheduler Add binding_index to RouterL3AgentBinding 2016-09-02 11:17:47 +00:00
services Fix migration of legacy router to DVR 2016-09-14 21:14:09 -04:00
tests Add logging for some functional tests 2016-05-04 06:41:17 -04:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Delete post_test_hook.generate_test_logs 2016-05-04 11:11:46 -04:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt More instructions for neutron-db-manage revision --autogenerate 2015-11-08 19:42:56 -05:00
test_server.py tests: stop using ml2 plugin full import paths in tests 2016-07-27 10:40:22 +00:00
test_service.py Use SIGUSR1 to notify l3 agent of changing prefix file 2015-11-13 17:53:47 +03:00