def test_map_with_root_and_end_kind(self): self.assertEqual( self._map('.', END), [QName('foo'), QName('bar'), QName('root')] )