'L{URL.set} replaces query parameters by name.'

def test_querySet(self):

    urlpath = URL.fromText(theurl)
    self.assertEqual(u'http://www.foo.com/a/nice/path/?zot=32&zut', urlpath.set(u'zot', u'32').asText())
    self.assertEqual(u'http://www.foo.com/a/nice/path/?zot&zut=itworked', urlpath.set(u'zot').set(u'zut', u'itworked').asText())
    self.assertEqual(u'http://www.foo.com/a/nice/path/?zot=32&zut', urlpath.add(u'zot', u'xxx').set(u'zot', u'32').asText())
