def test_fusion(self):
        q = ('the.rolling.stones.iregex.not:asc=sympathy,for,the,devil;'
             '!(guns.n.roses=paradise,city&queen:asc)')

        item = self.parse(q)

        # I'm lazy and don't want to walk the tree, so lets just test the repr.
        assert (six.text_type(repr(item)) ==
                "(the.rolling.stones.iregex.not:asc :iexact 'sympathy' "
                "| 'for' | 'the' | 'devil') OR NOT (guns.n.roses :iexact "
                "'paradise' | 'city') AND (queen :iexact '')")
Test something from everything combined
dataset/ETHPy150Open armet/python-armet/tests/test_query.py/QueryTestCase.test_fusion