def test_distinct(self): # distinct-values xq = Xquery(xpath='/el') xq.distinct() self.assertEqual('distinct-values(/el)', xq.getQuery())