neutron/neutron/tests/unit/extensions
John Perkins 972cdef50c Classes lack metaclass decoration
Add decorations where required.

There are roughly a dozen classes in Neutron that define abstract
methods or properties but are not decorated with
@six.add_metaclass(abc.ABCMeta). Without this decoration, children
can be created without defining the required methods or properties.

Decorating RBACColumns in db/rbac_db_models.py causes failures and will
be reported separately.

Decorating unit tests is of dubious benifit and should be addressed
separately (if at all).

There are also several more places where metaclassing isn't correct, to
be taken care of in follow-on patches.

For example, BaseScheduler is using the fact the None doesn't have a
filter_agents() method, which gives developers confusing error messages
when they incorrectly implement the interface, and they won't see any
error until schedule() is called. As an aside, the docstring for this
base class is also incorrect.

Change-Id: I2b2cce37d9b0d40559a715a7d510a969b8ba9963
Closes-Bug: #1577648
2016-05-05 13:31:15 -06:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py Fix params order in assertEqual 2016-02-03 11:54:29 +05:30
extendedattribute.py Remove get_namespace from API extensions 2015-06-15 09:17:32 -04:00
extensionattribute.py Introduce usage data tracking for Neutron 2015-07-28 11:55:03 -07:00
foxinsocks.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
test_address_scope.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_agent.py Remove BGP code from neutron 2016-04-25 21:54:06 -07:00
test_availability_zone.py ML2: Call _dict_extend in create_(net|port) ops 2016-02-06 09:50:38 +00:00
test_default_subnetpools.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_dns.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_external_net.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_extra_dhcp_opt.py Fix params order in assertEqual 2016-02-03 11:54:29 +05:30
test_extraroute.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_flavors.py Fix Neutron flavor framework 2015-11-19 11:27:05 -08:00
test_l3.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_l3_ext_gw_mode.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_netmtu.py Merge "Fix params order in assertEqual" 2016-02-05 07:44:36 +00:00
test_network_ip_availability.py Add API extension for reporting IP availability usage statistics 2016-02-29 05:31:48 +00:00
test_portsecurity.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
test_providernet.py Fix params order in assertEqual 2016-02-03 11:54:29 +05:30
test_quotasv2.py Return a 404 on quota delete if entry not found 2016-04-18 20:32:51 +00:00
test_router_availability_zone.py Add availability_zone support for router 2015-12-04 12:32:42 +09:00
test_securitygroup.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
test_servicetype.py Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00
test_tag.py Add filter for resource tag 2016-03-01 20:47:12 +00:00
test_timestamp_core.py Only load timestamp service plugin in timestamp tests 2016-04-09 13:26:20 -07:00
test_vlantransparent.py Remove transparent VLAN support from base plugin 2015-11-28 06:07:23 -08:00
v2attributes.py Simplify extension processing 2015-09-30 15:29:06 +09:00