Skip to content

Commit

Permalink
Fix pytest junit file detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Sep 6, 2019
1 parent b2da540 commit 8d99ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dump2polarion/dumper_cli.py
Expand Up @@ -129,7 +129,7 @@ def submit_if_ready(args, submit_args, config):
return None

# TODO: better detection of xunit file that is ready for import needed
if "<testsuites" in xml and "<properties>" not in xml:
if "<testsuites" in xml and 'name="pytest"' in xml:
return None

if args.no_submit:
Expand Down

0 comments on commit 8d99ea8

Please sign in to comment.