Merge "Replace abc.abstractproperty with property and abc.abstractmethod"
This commit is contained in:
commit
c0dfeabfb9
|
@ -79,7 +79,8 @@ class CommonIdentityTests(object):
|
||||||
|
|
||||||
self.stub_auth(json=token)
|
self.stub_auth(json=token)
|
||||||
|
|
||||||
@abc.abstractproperty
|
@property
|
||||||
|
@abc.abstractmethod
|
||||||
def version(self):
|
def version(self):
|
||||||
"""The API version being tested."""
|
"""The API version being tested."""
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,8 @@ class EntityManager(base.Manager):
|
||||||
|
|
||||||
resource_class = None
|
resource_class = None
|
||||||
|
|
||||||
@abc.abstractproperty
|
@property
|
||||||
|
@abc.abstractmethod
|
||||||
def object_type(self):
|
def object_type(self):
|
||||||
raise exceptions.MethodNotImplemented
|
raise exceptions.MethodNotImplemented
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue