There is no way to run code at the start or the end of a test
Bug #1184491 reported by
Christopher Lee
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
Undecided
|
Christopher Lee | ||
autopilot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
There is currently no way to setup code to be run at the very start of a testcase or at the very end of a testcase (i.e. after the addCleanup calls).
Related branches
lp:~veebers/autopilot/inital_and_final_code_exec
- PS Jenkins bot: Approve (continuous-integration)
- Thomi Richards (community): Approve
-
Diff: 467 lines (+228/-52)10 files modifiedautopilot/globals.py (+42/-33)
autopilot/input/_X11.py (+2/-2)
autopilot/input/__init__.py (+2/-8)
autopilot/testcase.py (+1/-1)
autopilot/tests/functional/test_autopilot_functional.py (+2/-2)
autopilot/tests/functional/test_input_stack.py (+4/-3)
autopilot/tests/functional/test_process_emulator.py (+3/-1)
autopilot/tests/unit/test_out_of_test_addcleanup.py (+1/-2)
autopilot/tests/unit/test_start_final_events.py (+106/-0)
autopilot/utilities.py (+65/-0)
Changed in autopilot: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:autopilot at revision 231, scheduled for release in autopilot, milestone 1.3.1