summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinayak Papnoi <vpapnoi@redhat.com>2019-07-03 16:01:49 +0530
committerVinayak Papnoi <vpapnoi@redhat.com>2019-07-03 16:01:49 +0530
commit5678e843eb5367a4587f9058adb58d45000e23b0 (patch)
treedd1211f111d6193e4bd69803971ad0ed8b5676af
parent47552e720720b36b93d7e86a28af0927a0a38e0c (diff)
Updating developer-guide
Changing the class method to reflect 'cls' instead of 'self' Change-Id: Idaa78714ddd3a3638036c1506b1e38f410fdc259 Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
-rw-r--r--docs/userguide/developer-guide.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/userguide/developer-guide.rst b/docs/userguide/developer-guide.rst
index 9ac300a..ac63673 100644
--- a/docs/userguide/developer-guide.rst
+++ b/docs/userguide/developer-guide.rst
@@ -75,7 +75,7 @@ Best Practices
class GlusterTestClass(GlusterBaseClass):
@classmethod
def setUpClass(cls):
- GlusterBaseClass.setUpClass.im_func(self)
+ GlusterBaseClass.setUpClass.im_func(cls)
# Your code here
# Remove this function if you don't have set up steps to do
@@ -103,7 +103,7 @@ Best Practices
@classmethod
def tearDownClass(cls):
- GlusterBaseClass.tearDownClass.im_func(self)
+ GlusterBaseClass.tearDownClass.im_func(cls)
# Your code here
# Remove this function if you don't have set up steps to do