]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Separate l3 db tests for l3 agent into their own test case
authorSalvatore Orlando <salv.orlando@gmail.com>
Fri, 23 Aug 2013 10:37:57 +0000 (03:37 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Fri, 23 Aug 2013 10:45:52 +0000 (03:45 -0700)
commit716af601730402859f101758ac6928b450fa8ac1
tree87a2e0bde19a33116b22eec0a72e66c671ae6dae
parent1c2e111a0be07c9005e212ca634a1ea174f616a5
Separate l3 db tests for l3 agent into their own test case

Bug 1215871

This patch does a simple refactoring of test_l3_plugin, pushing out tests
aimed at validating the interactions of the l3 agent with the server.

These tests explicitly use TestL3NatPlugin, whereas all the
other tests use a configurable plugin, which might be specificed by a child
class. This might lead to confusion and possibly errors in unit tests for
child classes, especially those not using the l3 agent - for which running
these test is also superfluous.

Change-Id: Ia9ed320ea775fc548e6a5b711c67c9f3b0ae2f6d
neutron/tests/unit/test_l3_plugin.py