Exemple #1
0
 def test_admin_allowed(self):
     periodadmin_required(self.testhelper.p1admin,
                              self.testhelper.sub_p1.id)
Exemple #2
0
 def test_superuser(self):
     periodadmin_required(self.testhelper.superuser, None) # Calls is_superuser and exits without further checks