'Test if system roles are present'

def testSystemRoles(self):

    sr = current.auth.get_system_roles()
    assertTrue = self.assertTrue
    assertTrue(isinstance(sr, Storage))
    assertTrue(('ADMIN' in sr))
    assertTrue((sr.ADMIN is not None))
    assertTrue(('AUTHENTICATED' in sr))
    assertTrue((sr.AUTHENTICATED is not None))
    assertTrue(('ANONYMOUS' in sr))
    assertTrue((sr.ANONYMOUS is not None))
