Refactor system tests to live together in one package.

This commit is contained in:
Andrey Smirnov
2014-01-21 12:15:28 +04:00
parent 0f902ee74b
commit 362cdbcd57
9 changed files with 60 additions and 35 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class BaseTest(object):
return string.Template(gold).substitute(os.environ)
def get_gold(self):
gold = os.path.join(os.path.dirname(inspect.getsourcefile(self.__class__)), "gold")
gold = os.path.join(os.path.dirname(inspect.getsourcefile(self.__class__)), self.__class__.__name__ + "_gold")
return self.gold_processor(open(gold, "r").read())
def check_output(self):