mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-07 05:42:42 +00:00
Refactor system tests to live together in one package.
This commit is contained in:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user