def test_no_quote(self): u = URL(u'/урл/', host=u'сайт.рф', query={'q': u'поиск'}) self.assertEqual(u.get_readable(), u'http://сайт.рф/урл/?q=поиск')