summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2020-01-08 14:09:12 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2020-01-09 05:47:24 +0000
commitb708cf61e66e810a9d6f1da8d3bbadcf8b38ee3b (patch)
tree8d98524c5af4c9b6a94182279e800cd92398b75d
parent42f5823e50898e0a66ec78f9de5dc13ef5a3be17 (diff)
[Doc] Updating changes for py2to3 in developer-guide.rst
Change-Id: I08fd627df3c099bc0c87d592c3f78bdc0ec9c7cc Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
-rw-r--r--docs/userguide/developer-guide.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/userguide/developer-guide.rst b/docs/userguide/developer-guide.rst
index ac63673..ad11f62 100644
--- a/docs/userguide/developer-guide.rst
+++ b/docs/userguide/developer-guide.rst
@@ -75,12 +75,12 @@ Best Practices
class GlusterTestClass(GlusterBaseClass):
@classmethod
def setUpClass(cls):
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
# Your code here
# Remove this function if you don't have set up steps to do
def setUp(self):
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
# Your code here
# Remove this function if you don't have set up steps to do
@@ -97,13 +97,13 @@ Best Practices
pass
def tearDown(self):
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
# Your code here
# Remove this function if you don't have set up steps to do
@classmethod
def tearDownClass(cls):
- GlusterBaseClass.tearDownClass.im_func(cls)
+ cls.get_super_method(cls, 'tearDownClass')()
# Your code here
# Remove this function if you don't have set up steps to do