Beispiel #1
0
 def test_admin_allowed(self):
     _subjectadmin_required(self.testhelper.s1admin,
                              self.testhelper.s1.id)
Beispiel #2
0
 def test_superuser(self):
     _subjectadmin_required(self.testhelper.superuser, None) # Calls is_superuser and exits without further checks