neutron/neutron/cmd
Ihar Hrachyshka ea8a1451b8 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
(cherry picked from commit 31e1aeb66b)
2016-09-20 01:43:19 +00:00
..
eventlet Remove BGP code from neutron 2016-04-25 21:54:06 -07:00
sanity Forbid importing neutron.tests.* from outside tests subtree 2016-09-20 01:43:19 +00:00
__init__.py Fix logging error for Guru Meditation Report 2016-02-08 16:52:17 -08:00
ipset_cleanup.py Refactoring config options for cmd 2016-07-31 04:37:29 +00:00
keepalived_state_change.py Replace keepalived notifier bash script with Python ip monitor 2015-03-18 18:59:33 -04:00
linuxbridge_cleanup.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
netns_cleanup.py Refactoring config options for cmd 2016-07-31 04:37:29 +00:00
ovs_cleanup.py Refactoring config options for cmd 2016-07-31 04:37:29 +00:00
pd_notify.py Use SIGUSR1 to notify l3 agent of changing prefix file 2015-11-13 17:53:47 +03:00
sanity_check.py Merge "Adding support of releasing DHCPv6 leases" 2016-09-01 07:33:35 +00:00