def test_removeQuery_is_same_as_removeSearch(): uri = URI('http://example.com/foo?bar=baz') assert uri.removeQuery(['bar']).toString() == uri.removeSearch(['bar']).toString()
def test_removeQuery_is_same_as_removeSearch(): uri = URI('http://example.com/foo?bar=baz') assert uri.removeQuery(['bar' ]).toString() == uri.removeSearch(['bar' ]).toString()