summaryrefslogtreecommitdiffstats
path: root/TestUnits/xlators/cluster
diff options
context:
space:
mode:
authorShwetha-H-Panduranga <shwetha@gluster.com>2011-12-20 17:56:53 +0530
committerShwetha-H-Panduranga <shwetha@gluster.com>2011-12-20 17:56:53 +0530
commit4c595fd98ae5daf31ae35eb24e1cdcef1fc156f3 (patch)
treeced763cb5a9dcd6b5670e529354d26de1dec7d75 /TestUnits/xlators/cluster
parent7725b1190314990bb5032d6f6212f728209e8634 (diff)
We are using 'img' python module in atfexecute for loading the testunit module for every 'TestUnit'(Ex:- testunit.py in xlators/cluster/afr/self_heal/), we have to reload the testcases module in every testunit module for reloading the testcases module for that unit. Else it will be referring to first import of testcases module
Diffstat (limited to 'TestUnits/xlators/cluster')
-rw-r--r--TestUnits/xlators/cluster/afr/self_heal/testunit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/TestUnits/xlators/cluster/afr/self_heal/testunit.py b/TestUnits/xlators/cluster/afr/self_heal/testunit.py
index 39ee2a8..840889b 100644
--- a/TestUnits/xlators/cluster/afr/self_heal/testunit.py
+++ b/TestUnits/xlators/cluster/afr/self_heal/testunit.py
@@ -9,6 +9,7 @@ import atfutils
import managerutils
import testcases
+reload(testcases)
filename = os.path.abspath(__file__)
dir_path = os.path.dirname(filename)