def METHOD_NAME(self):
    self.assertEqual(
        str(
            NQLQueryAggregate(
                items=[
                    NQLQueryAttribute(
                        name="sys/owner",
                        type=NQLAttributeType.STRING,
                        operator=NQLAttributeOperator.EQUALS,
                        value=user,
                    )
                    for user in ["user1", "user2"]
                ],
                aggregator=NQLAggregator.OR,
            )
        ),
        '((`sys/owner`:string = "user1") OR (`sys/owner`:string = "user2"))',
    )