mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-26 22:35:49 +00:00
bwruntests: Improve classname in some cases
This commit is contained in:
parent
454075ed38
commit
504517a5f2
1 changed files with 3 additions and 1 deletions
|
|
@ -252,8 +252,10 @@ the pyyaml library which is not installed.""",
|
|||
if args.report_junit:
|
||||
testcases = []
|
||||
for p in procresults:
|
||||
# we can either expect p.name = testsetname:testname
|
||||
# or p.name = testname
|
||||
testcase = TestCase(p.name,
|
||||
classname=p.name,
|
||||
classname=((p.name).split(':'))[0],
|
||||
stdout=p.stdout,
|
||||
stderr=p.stderr,
|
||||
elapsed_sec=p.time)
|
||||
|
|
|
|||
Loading…
Reference in a new issue