Message98014
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") |
|
Date |
User |
Action |
Args |
2010-01-18 14:31:58 | brian.curtin | set | recipients:
+ brian.curtin, lemburg, loewis, nnorwitz, jafo, amaury.forgeotdarc, jaraco, eric.smith, giampaolo.rodola, swarren, r.david.murray, ssbarnea, asvetlov |
2010-01-18 14:31:58 | brian.curtin | set | messageid: <1263825118.25.0.505790701809.issue1578269@psf.upfronthosting.co.za> |
2010-01-18 14:31:56 | brian.curtin | link | issue1578269 messages |
2010-01-18 14:31:56 | brian.curtin | create | |
|