expected_success should be a classmethod

expected_success overrides a classmethod from the base
rest_client.RestClient class, so we should have the same
method type here.

Change-Id: I45421960a65103474b142095926a6a5834729489
diff --git a/designate_tempest_plugin/services/dns/json/base.py b/designate_tempest_plugin/services/dns/json/base.py
index ef07ec1..ef7260b 100644
--- a/designate_tempest_plugin/services/dns/json/base.py
+++ b/designate_tempest_plugin/services/dns/json/base.py
@@ -60,7 +60,8 @@
         else:
             raise lib_exc.InvalidContentType()
 
-    def expected_success(self, expected_code, read_code):
+    @classmethod
+    def expected_success(cls, expected_code, read_code):
         # the base class method does not check correctly if read_code is not
         # an int. warn about this and cast to int to avoid silent errors.
         if not isinstance(read_code, int):
@@ -69,7 +70,7 @@
                        {'expected_code': expected_code,
                         'read_code': read_code})
             LOG.warn(message)
-        return super(DnsClientBase, self).expected_success(
+        return super(DnsClientBase, cls).expected_success(
             expected_code=expected_code, read_code=int(read_code),
         )