Skip to content

Commit

Permalink
[Doc] Updating changes for py2to3 in developer-guide.rst
Browse files Browse the repository at this point in the history
Change-Id: I08fd627df3c099bc0c87d592c3f78bdc0ec9c7cc
Signed-off-by: kshithijiyer <[email protected]>
  • Loading branch information
kshithijiyer authored and Bala Konda Reddy M committed Jan 9, 2020
1 parent 42f5823 commit b708cf6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/userguide/developer-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit b708cf6

Please sign in to comment.