neutron/neutron/tests/unit/objects
Kevin Benton 9f0fda52c5 Add common way to extend standard attribute models
This adds a way for standard attribute models to declare
the API resources they show up in. It then adds a utility
function to the standard_attr module to grab a map of all
API resources and their corresponding models.

This can be used by any processing code that wants to add
fields to standard attribute resources.

This also adjusts the existing extensions to leverage this
new functionality.

Partially-Implements: blueprint add-neutron-extension-resource-timestamp
Change-Id: Idc8923d0e983fcb0690f8cb5b55a5aff8690154f
(cherry picked from commit 465d22180e)
2016-09-16 18:16:29 +00:00
..
db objects: support advanced criteria for get_objects 2016-05-31 12:23:13 +02:00
extensions Add common way to extend standard attribute models 2016-09-16 18:16:29 +00:00
network tests: refactor objects test cases to use db models instead of dicts 2016-09-06 13:44:12 +00:00
port tests: refactor objects test cases to use db models instead of dicts 2016-09-06 13:44:12 +00:00
qos Merge "tests: refactor objects test cases to use db models instead of dicts" 2016-09-09 12:12:09 +00:00
__init__.py objects.base: avoid db access if object does not have changes 2015-07-03 02:02:17 +03:00
test_address_scope.py Address Scope added to OVO 2016-04-19 09:58:19 -05:00
test_base.py Merge "objects: expose database model for NeutronDbObject instances" 2016-09-14 11:43:03 +00:00
test_common_types.py Fix deprecation warnings 2016-08-26 22:16:06 -04:00
test_objects.py Add name and desc to networksegments table 2016-09-01 09:41:09 -06:00
test_rbac_db.py objects: expose database model for NeutronDbObject instances 2016-09-10 03:53:17 +00:00
test_securitygroup.py tests: refactor objects test cases to use db models instead of dicts 2016-09-06 13:44:12 +00:00
test_subnet.py tests: don't override base object test class attributes 2016-09-10 07:11:57 +00:00
test_subnetpool.py tests: refactor objects test cases to use db models instead of dicts 2016-09-06 13:44:12 +00:00
test_trunk.py tests: remove self.db_obj from objects tests 2016-09-09 03:07:00 +00:00
test_utils.py objects: introduce a util function to handle tenant_id filter 2016-08-03 08:42:38 +00:00