]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add no_delete flag to UT router context manager
authorKevin Benton <blak111@gmail.com>
Sat, 21 Mar 2015 00:40:43 +0000 (17:40 -0700)
committerKevin Benton <blak111@gmail.com>
Sat, 21 Mar 2015 00:43:24 +0000 (17:43 -0700)
commitc3018d35f1d903ccf8d08d04c5e4b9e2fca0b68b
treeca8496bc47ac6c512371d4ef36aa9f47610511e7
parent906ede185c0ddba4e994f41dacbd96d845de4bde
Add no_delete flag to UT router context manager

Adds a no_delete flag to the router context manager in
the unit tests to allow specific tests to avoid executing
all of the cleanup logic for floating IPs and interfaces
just to exit the test.

Ultimately, this should become the default once we are
comfortable that there is adequate explicit unit tests
for the deletion logic.

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