def test_user_entity_role_association(self) -> None:
        """Test that a role can be created"""
        role = self.user1.link_to_acl(self.entity1, roles.Role.OWNER)
        self.assertIsNotNone(role.id)
        self.assertEqual(role.role, roles.Role.OWNER)
Test that a role can be created
tests/schemas/rbac.py