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:
f9dbeae
)
give config param in call() a default
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 18 Jan 2008 17:20:42 +0000
(17:20 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 18 Jan 2008 17:20:42 +0000
(17:20 +0000)
qaapi/qa/Test.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/Test.py
b/qaapi/qa/Test.py
index
b1b8125
..
eaf81fc
100644
(file)
--- 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 types import *
from qa import utils
from qa.logger import log
+from qa.Config import Config
class Test:
"""
class Test:
"""
@@
-21,7
+22,7
@@
class Test:
"""
return True
"""
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
self.name = self.__class__.__name__
self.path=os.path.dirname(sys.argv[0])
self.config = config