]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove remaining do_delete from unit tests
authorAssaf Muller <amuller@redhat.com>
Tue, 10 Feb 2015 19:22:07 +0000 (14:22 -0500)
committerAssaf Muller <amuller@redhat.com>
Tue, 10 Feb 2015 21:38:10 +0000 (16:38 -0500)
commit7322cb3cee873c400d9b52d9c6b7596854265b8f
tree3dd77f4c1dbd3cf11ba3b285a82a00420d5eefa1
parenta97b9a494402cc4a29aa03a54e8894c8deeeae2c
Remove remaining do_delete from unit tests

Since we clean all table contents after every unit test,
there's no need to automatically delete resources, which lengthens
test runs unnecessarily.

Additionally, some tests were calling with port(do_delete=X), while the
port context manager doesn't actually declare that argument.

Change-Id: I2e323082dd036502f9a1dacbe4278a8ece6b8f7a
neutron/tests/unit/bigswitch/test_restproxy_plugin.py
neutron/tests/unit/db/metering/test_db_metering.py
neutron/tests/unit/ml2/test_ml2_plugin.py
neutron/tests/unit/nec/test_packet_filter.py
neutron/tests/unit/nuage/test_netpartition.py
neutron/tests/unit/services/metering/test_metering_plugin.py
neutron/tests/unit/test_extension_security_group.py
neutron/tests/unit/test_security_groups_rpc.py
neutron/tests/unit/vmware/extensions/test_qosqueues.py
neutron/tests/unit/vmware/test_nsx_plugin.py