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:
31b2faa
)
simplify
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 26 Mar 2008 00:40:44 +0000
(
00:40
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 26 Mar 2008 00:40:44 +0000
(
00:40
+0000)
qaapi/qa/tests/plc_install.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/tests/plc_install.py
b/qaapi/qa/tests/plc_install.py
index
9283eff
..
cc0a08d
100644
(file)
--- a/
qaapi/qa/tests/plc_install.py
+++ b/
qaapi/qa/tests/plc_install.py
@@
-14,13
+14,7
@@
class plc_install(Test):
def call(self, plc_name, url=None):
# Get plc qa config
- plc = PLC(self.config)
- plcs = getattr(self.config, 'plcs', [])
- for p in plcs:
- if p['name'] in [plc_name]:
- plc.update(p)
-
-
+ plc = self.config.get_plc(plc_name)
url_path = self.config.path
# Determine url