e33349e216
New policy code requires that CONF is already initialized when policy checks are invoked. It means that no Neutron context objects should be created before BaseTestCase.setUp() is called that will set configuration, among other things. Ideally, we would just make sure that all test cases invoke super().setUp() as the very first line of any subclass setUp() methods. But since some of test cases require prior setup (like mocking extension manager) before proceeding to base class, we end up with magically shuffling context instantiations to occur below super() calls. Change-Id: Ib1039ea1ff9480ca57f9cb0c917469d0d2ad28b8 Closes-Bug: #1400301 |
||
---|---|---|
.. | ||
__init__.py | ||
test_brocade_l3_plugin.py | ||
test_brocade_mechanism_driver.py |