'Test URL value parsing'

def testParseValue(self):

    assertEqual = self.assertEqual
    parse = S3URLQuery.parse_value
    items = [('Liqui\xc3\xa7\xc3\xa1,Other', ['Liqui\xc3\xa7\xc3\xa1', 'Other']), ('123', '123'), ('1,2,3', ['1', '2', '3']), ('"1,2",3', ['1,2', '3']), (['1,2', '3'], ['1', '2', '3']), ('NONE', None), ('"NONE"', 'NONE'), ('None', None), ('"None"', 'None'), ('NONE,1', [None, '1']), ('"NONE",1', ['NONE', '1']), ('"NONE,1"', 'NONE,1'), ('"NONE",NONE,1,"Test\\""', ['NONE', None, '1', 'Test"']), (['"NONE",NONE,1', '"Test\\"",None'], ['NONE', None, '1', 'Test"', None])]
    for (v, r) in items:
        assertEqual((v, parse(v)), (v, r))
