From: Tony Mack Date: Fri, 18 Jan 2008 17:20:42 +0000 (+0000) Subject: give config param in call() a default X-Git-Tag: 2008-02-11-last-vmware-support~146 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=99751a673e2eeb5f4f36690dd033300d8401acd8;p=tests.git give config param in call() a default --- diff --git a/qaapi/qa/Test.py b/qaapi/qa/Test.py index b1b8125..eaf81fc 100644 --- a/qaapi/qa/Test.py +++ b/qaapi/qa/Test.py @@ -2,6 +2,7 @@ import sys, os from types import * from qa import utils from qa.logger import log +from qa.Config import Config class Test: """ @@ -21,7 +22,7 @@ class Test: """ return True - def __init__(self, config): + def __init__(self, config = Config()): self.name = self.__class__.__name__ self.path=os.path.dirname(sys.argv[0]) self.config = config