From: Tony Mack Date: Wed, 26 Mar 2008 00:40:44 +0000 (+0000) Subject: simplify X-Git-Tag: tests-4.2-4~149 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5151ef17d1eb59887af99c24adb2b067beb4e0d1;p=tests.git simplify --- diff --git a/qaapi/qa/tests/plc_install.py b/qaapi/qa/tests/plc_install.py index 9283eff..cc0a08d 100644 --- 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