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