git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c9213f
)
move the invocation of Config() into the __init__ function to delay invoking that...
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 8 Feb 2008 20:08:06 +0000
(20:08 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 8 Feb 2008 20:08:06 +0000
(20:08 +0000)
qaapi/qa/tests/Test.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/tests/Test.py
b/qaapi/qa/tests/Test.py
index
08f49f1
..
41188d7
100644
(file)
--- a/
qaapi/qa/tests/Test.py
+++ b/
qaapi/qa/tests/Test.py
@@
-30,7
+30,8
@@
class Test:
"""
return True
- def __init__(self, config = Config()):
+ def __init__(self, config = None):
+ if config is None: config = Config()
self.name = self.__class__.__name__
self.path=os.path.abspath(os.path.dirname(sys.argv[0]))
self.config = config