Author brian.curtin
Recipients amaury.forgeotdarc, asvetlov, brian.curtin, eric.smith, giampaolo.rodola, jafo, jaraco, lemburg, loewis, nnorwitz, r.david.murray, ssbarnea, swarren
Date 2010-01-18.14:31:56
SpamBayes Score 0.00372925
Marked as misclassified No
Message-id <1263825118.25.0.505790701809.issue1578269@psf.upfronthosting.co.za>
In-reply-to
Content
You could use the test skipping functionality present in trunk and beyond. Write a function to test whether the user has the necessary privileges, then use @unittest.skipUnless(has_admin_privs(), "can't test as regular user")
History
Date User Action Args
2010-01-18 14:31:58brian.curtinsetrecipients: + brian.curtin, lemburg, loewis, nnorwitz, jafo, amaury.forgeotdarc, jaraco, eric.smith, giampaolo.rodola, swarren, r.david.murray, ssbarnea, asvetlov
2010-01-18 14:31:58brian.curtinsetmessageid: <1263825118.25.0.505790701809.issue1578269@psf.upfronthosting.co.za>
2010-01-18 14:31:56brian.curtinlinkissue1578269 messages
2010-01-18 14:31:56brian.curtincreate