Code review comment for lp://staging/~brendan-donegan/ubuntu-power-tests/tc-powermeter-07

Revision history for this message
Richard Huddie (rhuddie) wrote :

Max, I don't know if this is what you're looking for, but there is a helper used in the sanity wizard test to remove existing wi-fi connections before the test and restore them after:

http://bazaar.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/trunk/view/head:/ubuntu_sanity_tests/helpers/testbed.py#L53

It sounds like the implementation would need to be split between the test which removes the connection and prepare-device script which restores it. Could be of use though.

« Back to merge proposal