Merge "Replace assertEqual(a>b) with assertGreater(a, b)"
diff --git a/designate_tempest_plugin/tests/api/v2/test_zones.py b/designate_tempest_plugin/tests/api/v2/test_zones.py
index 62f188e..015010c 100644
--- a/designate_tempest_plugin/tests/api/v2/test_zones.py
+++ b/designate_tempest_plugin/tests/api/v2/test_zones.py
@@ -85,7 +85,7 @@
# TODO(kiall): We really want to assert that out newly created zone is
# present in the response.
- self.assertTrue(len(body['zones']) > 0)
+ self.assertGreater(len(body['zones']), 0)
@test.attr(type='smoke')
@test.idempotent_id('123f51cb-19d5-48a9-aacc-476742c02141')
diff --git a/designate_tempest_plugin/tests/api/v2/test_zones_exports.py b/designate_tempest_plugin/tests/api/v2/test_zones_exports.py
index c9350e6..05cb9e8 100644
--- a/designate_tempest_plugin/tests/api/v2/test_zones_exports.py
+++ b/designate_tempest_plugin/tests/api/v2/test_zones_exports.py
@@ -94,4 +94,4 @@
LOG.info('List zones exports')
_, body = self.client.list_zones_exports()
- self.assertTrue(len(body['exports']) > 0)
+ self.assertGreater(len(body['exports']), 0)
diff --git a/designate_tempest_plugin/tests/api/v2/test_zones_imports.py b/designate_tempest_plugin/tests/api/v2/test_zones_imports.py
index ff2d5ef..574d8b5 100644
--- a/designate_tempest_plugin/tests/api/v2/test_zones_imports.py
+++ b/designate_tempest_plugin/tests/api/v2/test_zones_imports.py
@@ -77,4 +77,4 @@
LOG.info('List zones imports')
_, body = self.client.list_zone_imports()
- self.assertTrue(len(body['imports']) > 0)
+ self.assertGreater(len(body['imports']), 0)