neutron/neutron/tests/unit/db
Boden R e4348eb1e1 use retry_db_errors from neutron-lib
The externally consumed APIs from neutron.db.api were rehomed into
neutron-lib with https://review.openstack.org/#/c/557040/

This patch consumes the retry_db_errors function from lib by:
- Removing retry_db_errors from neutron.db.api
- Updating the imports for retry_db_errors to use it from lib
- Using the DB API retry fixture from lib in the UTs where applicable
- Removing the UTs for neutron.db.api as they are now covered in lib

NeutronLibImpact

Change-Id: I1feb842d3e0e92c945efb01ece29856335a398fe
2018-07-16 08:10:54 -06:00
..
metering use metering api def from neutron-lib 2017-11-03 14:03:20 -06:00
quota Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test__utils.py remove common db alaises to db utils 2018-05-01 14:13:24 -06:00
test_agents_db.py Revert "Revert "Automatically expire obsolete relationships"" 2018-04-26 22:04:07 +00:00
test_agentschedulers_db.py Send update instead of remove for DVR reschedule 2018-07-12 15:14:04 +08:00
test_allowedaddresspairs_db.py use addr pairs api def from lib 2017-11-13 11:56:32 -07:00
test_db_base_plugin_common.py Replace to_dict() calls with a function decorator 2015-08-03 11:42:25 +03:00
test_db_base_plugin_v2.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
test_dvr_mac_db.py use retry_db_errors from neutron-lib 2018-07-16 08:10:54 -06:00
test_extraroute_db.py l3 flavor: more events/notifications and callback priority 2018-05-18 00:14:33 +00:00
test_ipam_backend_mixin.py Switch to use _get_subnet_object() in ipam_backend_mixin module 2017-12-18 14:59:17 +01:00
test_ipam_pluggable_backend.py Add multiple IPv6 EUI-64 addresses test 2018-07-16 03:17:25 +00:00
test_l3_db.py Fixing the filter in get MTU by network list query. 2018-02-14 22:21:18 +03:00
test_l3_dvr_db.py use l3 api def from neutron-lib 2017-12-15 07:03:14 -07:00
test_l3_hamode_db.py l3 flavor: more events/notifications and callback priority 2018-05-18 00:14:33 +00:00
test_migration.py Refactoring db config options 2017-10-04 15:42:50 -04:00
test_portsecurity_db.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_portsecurity_db_common.py use neutron-lib port security api-def 2017-05-01 11:45:42 -06:00
test_provisioning_blocks.py Adopt Port OVO for tests/unit/db/test_provisioning_blocks.py 2018-07-06 11:43:43 -04:00
test_rbac_db_mixin.py tests: port test_port_presence_prevents_network_rbac_policy_deletion 2018-03-15 14:52:07 -07:00
test_securitygroups_db.py use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
test_segments_db.py Change passing session to context in segments db functions 2016-12-23 16:47:41 +04:00
test_sqlalchemytypes.py Use oslo_db.sqlalchemy.test_fixtures 2018-02-19 20:53:14 -05:00
test_standard_attr.py Allow sub-resources to have standard attributes 2018-07-04 20:52:37 +00:00