Autopilot can no longer be used to run it's own tests
Bug #1255659 reported by
Thomi Richards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
Critical
|
Unassigned | ||
autopilot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Autopilot can no longer be used to run it's own tests because it now imports the 'autopilot' package, which ends up in sys.modules, which in turn breaks the test discovery.
There's two possible solutions:
Either we simply 'del sys.modules[
Related branches
lp:~thomir-deactivatedaccount/autopilot/fix-test-loading-issues
- PS Jenkins bot: Approve (continuous-integration)
- Christopher Lee (community): Approve
-
Diff: 639 lines (+345/-172)4 files modifiedautopilot/run.py (+191/-171)
autopilot/tests/unit/test_test_loader.py (+149/-0)
debian/control (+4/-0)
tox.ini (+1/-1)
Changed in autopilot: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:autopilot at revision 375, scheduled for release in autopilot, milestone 1.4