File: __main__.py

package info (click to toggle)
pyjunitxml 0.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 224 kB
  • sloc: python: 830; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
"""Command line functionality for junitxml.

:Author: Duncan Findlay <duncan@duncf.ca>
"""
import sys

import junitxml.main

if __name__ == '__main__':
    if sys.argv[0].endswith('__main__.py'):
        sys.argv[0] = 'python -m junitxml'
    junitxml.main.main()