neutron/neutron/tests
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
..
common Remove BGP code from neutron 2016-04-25 21:54:06 -07:00
contrib Remove BGP code from neutron 2016-04-25 21:54:06 -07:00
etc Remove BGP code from neutron 2016-04-25 21:54:06 -07:00
fullstack fullstack: Use noop firewall 2016-05-02 17:35:49 +02:00
functional Pecan: Fix Shim status codes 2016-04-29 13:18:14 -07:00
retargetable Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00
tempest Remove BGP code from neutron 2016-04-25 21:54:06 -07:00
unit Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
base.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py Merge "Tests: correcting typo in get_random_cidr." 2016-04-19 23:17:22 +00:00