def uploaderBugsSetUp(test): """Set up a test suite using the 'uploader' db user. 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. """ lobotomize_stevea() test_dbuser = config.uploader.dbuser switch_dbuser(test_dbuser) setUp(test) test.globs["test_dbuser"] = test_dbuser
def uploaderBugsSetUp(test): """Set up a test suite using the 'uploader' db user. 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. """ lobotomize_stevea() test_dbuser = config.uploader.dbuser switch_dbuser(test_dbuser) setUp(test, future=True) test.globs['test_dbuser'] = test_dbuser
def cveSetUp(test): lobotomize_stevea() switch_dbuser(config.cveupdater.dbuser) setUp(test)
def bugNotificationSendingSetUp(test): lobotomize_stevea() switch_dbuser(config.malone.bugnotification_dbuser) setUp(test)
def branchscannerBugsSetUp(test): """Setup the user for the branch scanner tests.""" lobotomize_stevea() branchscannerSetUp(test)
def lobotomizeSteveASetUp(test): """Call lobotomize_stevea() and standard setUp""" lobotomize_stevea() setUp(test)
def cveSetUp(test): lobotomize_stevea() switch_dbuser(config.cveupdater.dbuser) setUp(test, future=True)
def bugNotificationSendingSetUp(test): lobotomize_stevea() switch_dbuser(config.malone.bugnotification_dbuser) setUp(test, future=True)
def lobotomizeSteveASetUp(test): """Call lobotomize_stevea() and standard setUp""" lobotomize_stevea() setUp(test, future=True)