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:
525895b
)
simplify
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 26 Mar 2008 00:35:08 +0000
(
00:35
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 26 Mar 2008 00:35:08 +0000
(
00:35
+0000)
qaapi/qa/tests/delete_test_data.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/tests/delete_test_data.py
b/qaapi/qa/tests/delete_test_data.py
index
d831f0a
..
107b23a
100644
(file)
--- a/
qaapi/qa/tests/delete_test_data.py
+++ b/
qaapi/qa/tests/delete_test_data.py
@@
-13,13
+13,7
@@
class delete_test_data(Test):
def call(self, plc_name = None):
# Determine which plc to talk to
def call(self, plc_name = None):
# Determine which plc to talk to
- plc = PLC(self.config)
- plcs = getattr(self.config, 'plcs', [])
- for p in plcs:
- if p['name'] in [plc_name]:
- plc.update(p)
- plc.config.update_api(plc)
-
+ plc = self.config.get_plc(plc_name)
api = plc.config.api
auth = plc.config.auth
api = plc.config.api
auth = plc.config.auth