tps: take a filename as opt param for read_config

parent 77e186ff
......@@ -46,7 +46,9 @@ class Suite(object):
if self.__getattribute__(fieldname) is None ]
return missing
def read_config(self):
def read_config(self, name=None):
if name:
self.config = name
try:
cfg = file(self.config).read()
except IOError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment