Commit 8930583d authored by Ivan Tyagov's avatar Ivan Tyagov

See 8f45ebf4

parent 8f19e55f
...@@ -133,7 +133,6 @@ def main(): ...@@ -133,7 +133,6 @@ def main():
html_parser = etree.HTMLParser(recover=True) html_parser = etree.HTMLParser(recover=True)
body = etree.fromstring(browser.page_source.encode('UTF-8'), html_parser) body = etree.fromstring(browser.page_source.encode('UTF-8'), html_parser)
browser.quit()
print ' '.join(body.xpath('//*[@id="qunit-testresult"]//text()')) print ' '.join(body.xpath('//*[@id="qunit-testresult"]//text()'))
...@@ -188,6 +187,9 @@ def main(): ...@@ -188,6 +187,9 @@ def main():
stdout='') stdout='')
# XXX: inform test node master of error # XXX: inform test node master of error
raise EnvironmentError(result) raise EnvironmentError(result)
finally:
browser.quit()
if __name__ == "__main__": if __name__ == "__main__":
main() main()
...@@ -107,7 +107,7 @@ mode = 0644 ...@@ -107,7 +107,7 @@ mode = 0644
[template-runTestSuite] [template-runTestSuite]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/runTestSuite.in url = ${:_profile_base_location_}/runTestSuite.in
md5sum = 8425081faf339e6c04ac59ecf0da606a md5sum = 777751601384344984c2759155d9bf99
output = ${buildout:directory}/runTestSuite.in output = ${buildout:directory}/runTestSuite.in
mode = 0644 mode = 0644
......
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