]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
hacking: also catch 'import oslo.*' imports
authorIhar Hrachyshka <ihrachys@redhat.com>
Wed, 11 Feb 2015 13:00:53 +0000 (14:00 +0100)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 11 Feb 2015 13:06:42 +0000 (14:06 +0100)
commit3b6a2902f0622b0fe86c1ca54f774888a957fb0f
tree09fe2abaaba27b9674db729f2a3e25bb732538e2
parent06c98c950ac4e0b4452b2f062391362e31d06c8d
hacking: also catch 'import oslo.*' imports

Enhanced N323 hacking check to catch 'import oslo.*' form of obsolete
imports.

Added missing unit tests.

Change-Id: I92ae3818fbfd304dfc5e77596483c7caf6775e69
neutron/hacking/checks.py
neutron/tests/unit/hacking/test_checks.py