Commit 125c1c62 authored by Rafael Monnerat's avatar Rafael Monnerat

Respect run_only definition when use url

parent 2085579c
...@@ -276,6 +276,8 @@ class FunctionalTestRunner: ...@@ -276,6 +276,8 @@ class FunctionalTestRunner:
def _getTestURL(self): def _getTestURL(self):
if self.remote_code_url_list is not None: if self.remote_code_url_list is not None:
remote_code_url = "&".join(["url_list:list=%s" % url for url in self.remote_code_url_list]) remote_code_url = "&".join(["url_list:list=%s" % url for url in self.remote_code_url_list])
if self.run_only != "":
remote_code_url += "&zuite_id=%s" % self.run_only
return '%s/portal_tests/Zuite_runSeleniumTest?%s&__ac_name=%s&__ac_password=%s' \ return '%s/portal_tests/Zuite_runSeleniumTest?%s&__ac_name=%s&__ac_password=%s' \
% (self.portal.portal_url(), remote_code_url, self.user, self.password) % (self.portal.portal_url(), remote_code_url, self.user, self.password)
......
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