Commit 9dcd5c2e authored by Ivan Tyagov's avatar Ivan Tyagov

Define variables otherwise in case of delayed frontend instance creation

code will fail with :
"local variable 'user' referenced before assignment".
As callee is handling the possibility of delayed frontend and / or
instance creation this is perfectly fine.
parent b6aa35ff
...@@ -382,6 +382,8 @@ class SlapOSTester(SlapOSMasterCommunicator): ...@@ -382,6 +382,8 @@ class SlapOSTester(SlapOSMasterCommunicator):
# In the future, this should allow customization so each project to be tested parses its own information, # In the future, this should allow customization so each project to be tested parses its own information,
# probably in the test suite definition class # probably in the test suite definition class
def getInstanceUrlDict(self): def getInstanceUrlDict(self):
user = None
password = None
frontend_url_list = [] frontend_url_list = []
for instance in self.getInstanceUrlList(): for instance in self.getInstanceUrlList():
if "frontend-" in instance["title"]: if "frontend-" in instance["title"]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment