]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/cephfs/cephfs_test_case.py
update ceph source to reef 18.2.1
[ceph.git] / ceph / qa / tasks / cephfs / cephfs_test_case.py
index 129b84790e90371de84af87d11836e87f8a2c11e..d2688929cc37ff534d943dff23be92bfa6edccda 100644 (file)
@@ -13,6 +13,12 @@ from teuthology.exceptions import CommandFailedError
 
 log = logging.getLogger(__name__)
 
+def classhook(m):
+    def dec(cls):
+        getattr(cls, m)()
+        return cls
+    return dec
+
 def for_teuthology(f):
     """
     Decorator that adds an "is_for_teuthology" attribute to the wrapped function