neutron/neutron/tests/unit/plugins/ml2/extensions
Monty Taylor e982506c20 Stop mocking keystoneauth internals
The unittests do some mocks of the keystoneauth Session contructor to
make sure Sessions are being constructed properly. In keystoneauth 3.7.0
we added two new options that can be used from oslo.config files, and
those options in turn now get passed to the Session constructor - which
breaks the mocks.

The thing is, neutron doesn't need to test that
load_session_from_conf_options works, keystoneauth tests that. What we
want to test here is that setting various config options has a specific
result. So instead of testing the entire args list (which could change)
test for the specific results we're concerned about.

Change-Id: I3048cdb8f8b07f6b243a0ab7d08484278c60995f
Needed-By: https://review.openstack.org/569447
2018-06-02 11:25:20 +00:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
fake_extension.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
test_data_plane_status.py Refactoring config options for ml2 config opts 2017-09-08 15:34:49 -04:00
test_dns_integration.py Stop mocking keystoneauth internals 2018-06-02 11:25:20 +00:00
test_port_security.py use neutron-lib port security api-def 2017-05-01 11:45:42 -06:00