'kumaediting: superusers, kumabanned: none'

def test_superusers_only(self):

    self.kumaediting_flag.everyone = None
    self.kumaediting_flag.superusers = True
    self.kumaediting_flag.save()
    self.client.login(username='testuser', password='testpass')
    resp = self.client.get(self.edit_url)
    eq_(403, resp.status_code)
    ok_(('The    wiki    is    in    read-only    mode.' in resp.content))
    self.client.logout()
    self.client.login(username='admin', password='testpass')
    resp = self.client.get(self.edit_url)
    eq_(200, resp.status_code)
