Minor edit for clarity (generate output for single top level spec vs. iterating

through collection of size 1)
This commit is contained in:
Peter Scheibel 2015-10-15 19:59:57 -07:00
parent 82ed1bc343
commit 49b91235bb

View file

@ -152,8 +152,7 @@ def test_install(parser, args):
finally: finally:
jrf = JunitResultFormat() jrf = JunitResultFormat()
handled = {} handled = {}
for spec in specs: create_test_output(topSpec, newInstalls, jrf)
create_test_output(spec, newInstalls, jrf)
with open(outputFpath, 'wb') as F: with open(outputFpath, 'wb') as F:
jrf.write_to(F) jrf.write_to(F)