Commit 4dabf3b0 authored by Mathieu Giraud's avatar Mathieu Giraud

src/should.py: remove a spurious 'failed:0' with --xml

Closes #42.
parent 9fa1477a
Pipeline #71761 passed with stages
in 12 seconds
......@@ -1069,7 +1069,7 @@ class FileSet():
{'id': 'Test at %s' % datetime.datetime.now().isoformat(),
'name': 'tested by should',
'tests': str(self.stats_tests.total()),
'failures': str(len(self.stats_tests[False])),
'failures': str(len(self.stats_tests[False]) if False in self.stats_tests else 0),
})
for s in self.sets:
......
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