'Checks if user have admin permissions, can\'t be promoted and can be demoted'

def _assert_is_admin(self, user):

    self.assertIn('admin', user.role_label.lower())
    self.assertFalse(user.can_promote)
    self.assertTrue(user.can_demote)
    self.assertIn('Remove    Admin    Access', user.demote_button_text)
