neutron/neutron/tests/unit
Brian Haley 357ee21d12 Remove import of 'imp' module
Use importlib.util module instead of imp, since it's
being deprecated:

  DeprecationWarning: the imp module is deprecated in favour of
  importlib; see the module's documentation for alternative uses

Had to change test setup to call super() first to get around a
config issue I was seeing locally, causing the entire class of
tests to fail:

  oslo_config.cfg.NoSuchOptError: no such option api_extensions_path
  in group [DEFAULT]

Closes-bug: #1981077

Change-Id: Ic171028a661c3f9f83f6758a57aaeab4450aa907
2022-07-11 14:19:54 -04:00
..
agent Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
api Remove import of 'imp' module 2022-07-11 14:19:54 -04:00
cmd Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
common Merge "[OVN] Make binding profile validation more robust" 2022-06-10 18:55:00 +00:00
conf Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Remove import of 'imp' module 2022-07-11 14:19:54 -04:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions Implement experimental features framework 2022-06-30 17:59:49 -05:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Remove exception ``IpAddressAllocationNotFound`` 2022-03-16 16:48:06 +00:00
notifiers Use a thread local variable to store the Nova Notifier enable flag 2022-02-02 08:03:38 +00:00
objects Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
privileged Fix tests involving pyroute2.netlink module 2022-06-14 11:47:56 +00:00
quota Replace "tenant_id" with "project_id" in Quota engine 2021-09-22 08:27:10 +00:00
scheduler [OVN] Reschedule router GW chassis when AZ updated 2022-03-14 00:33:23 +00:00
services Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
tests Merge "Replace assertItemsEqual with assertCountEqual" 2021-04-26 19:12:38 +00:00
__init__.py
_test_extension_portbindings.py Deprecate 'allow_overlapping_ips' config option 2021-10-21 10:56:33 +00:00
dummy_plugin.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
extension_stubs.py
fake_resources.py [ovn]Refusing to bind port to dead agent 2022-05-07 11:05:24 +08:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py Provide the rpc_response_max_timeout parameter to sriov-agent 2021-06-06 23:56:14 +09:00
test_policy.py Handle properly InvalidScope exceptions to not return error 500 2022-03-30 14:52:37 +00:00
test_service.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_worker.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_wsgi.py Disable tracebacks of eventlet.wsgi.server 2022-01-11 09:33:12 +01:00
testlib_api.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00