'Test URL get_vars parsing'

def testParseURL(self):

    assertEqual = self.assertEqual
    parse = S3URLQuery.parse_url
    items = [(None, Storage()), ('', Storage()), ('test', Storage()), ('x/y/z?', Storage()), ('x/z/z?a=b', Storage(a='b')), ('?a=b', Storage(a='b')), ('a=b', Storage(a='b')), ('a=b&a=c', Storage(a=['b', 'c'])), ('a=b,c&a=d', Storage(a=['b,c', 'd']))]
    for (v, r) in items:
        assertEqual((v, parse(v)), (v, r))
