def test_del_query_params_removes_multiple_query_parameters(self): url = URL('https://github.com/zacharyvoase/urlblocks?foo=bar&baz=spam#foo') assert (url.del_query_params(['foo', 'baz']) == 'https://github.com/zacharyvoase/urlblocks#foo')