Merge "Make the Zone object py3 compatible"

This commit is contained in:
Jenkins 2017-06-29 02:25:28 +00:00 committed by Gerrit Code Review
commit 3c323d5eab
2 changed files with 3 additions and 1 deletions

View File

@ -189,6 +189,9 @@ class Zone(base.DictObjectMixin, base.SoftDeleteObjectMixin,
"Provided object does not match "
"schema", errors=errors, object=self)
def __hash__(self):
return hash(self.id)
def validate(self):
errors = ValidationErrorList()

View File

@ -1,5 +1,4 @@
# Blacklist of tests failing on Python 3
designate.tests.test_pool_manager.test_service
designate.tests.unit.test_central.test_basic
designate.tests.unit.test_pool
designate.tests.unit.test_producer.test_tasks