Merge "Replace abc.abstractproperty with property and abc.abstractmethod"

This commit is contained in:
Zuul
2023-09-22 03:58:18 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 2 deletions

View File

@@ -79,7 +79,8 @@ class CommonIdentityTests(object):
self.stub_auth(json=token)
@abc.abstractproperty
@property
@abc.abstractmethod
def version(self):
"""The API version being tested."""

View File

@@ -25,7 +25,8 @@ class EntityManager(base.Manager):
resource_class = None
@abc.abstractproperty
@property
@abc.abstractmethod
def object_type(self):
raise exceptions.MethodNotImplemented