From 4c595fd98ae5daf31ae35eb24e1cdcef1fc156f3 Mon Sep 17 00:00:00 2001 From: Shwetha-H-Panduranga Date: Tue, 20 Dec 2011 17:56:53 +0530 Subject: 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 --- TestUnits/xlators/cluster/afr/self_heal/testunit.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit