Comment 1 for bug 1175665

Revision history for this message
Corey Goldberg (coreygoldberg) wrote :

right now it only imports `junitxml` if you select xml output. so the package isn't needed (unless you want xml output obviously).

you will get an ImportError. Is that good enough, or should it quit gracefully asking you to install `junitxml` to enable xml output?

----

def get_output_format(format):
     ....
    elif format == "xml":
        from junitxml import JUnitXmlResult