Autopilot xml dependancy should be optional
Bug #1175665 reported by
Thomi Richards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Triaged
|
Low
|
Unassigned |
Bug Description
We should make the Xml output optional - only offer it if the junitxml package is installed, to reduce the number of packages we need to install on the tablet.
Changed in autopilot: | |
milestone: | 1.3 → none |
To post a comment you must log in.
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