Part of lp.soyuz.tests
|Function||lobotomize_stevea||Set SteveA's email address' status to NEW.|
|Function||uploaderSetUp||setup the package uploader script tests.|
|Function||uploaderBugsSetUp||Set up a test suite using the 'uploader' db user.|
Call this method first in a test's setUp where needed. Tests using this function should be refactored to use the unaltered sample data and this function eventually removed.
In the past, SteveA's account erroneously appeared in the old ValidPersonOrTeamCache materialized view. This materialized view has since been replaced and now SteveA is correctly listed as invalid in the sampledata. This fix broke some tests testing code that did not use the ValidPersonOrTeamCache to determine validity.
Some aspects of the bug tracker are being used by the Soyuz uploader. In order to test that these functions work as expected from the uploader, we run them using the same db user used by the uploader.