示例#1
0
 def test_parsing(self):
     qsstring = "a=1&b=2&a=3"
     qs = urllib_parse.parse_qs(qsstring)
     qsl = list(qs_to_qsl(qs))
     self.assertIn(('a', '1'), qsl)
     self.assertIn(('a', '3'), qsl)
     self.assertIn(('b', '2'), qsl)
示例#2
0
 def test_parsing(self):
     qsstring = "a=1&b=2&a=3"
     qs = urllib.parse.parse_qs(qsstring)
     qsl = list(qs_to_qsl(qs))
     self.assertIn(("a", "1"), qsl)
     self.assertIn(("a", "3"), qsl)
     self.assertIn(("b", "2"), qsl)
示例#3
0
 def test_parsing(self):
     qsstring = "a=1&b=2&a=3"
     qs = urllib_parse.parse_qs(qsstring)
     qsl = list(qs_to_qsl(qs))
     self.assertIn(('a', '1'), qsl)
     self.assertIn(('a', '3'), qsl)
     self.assertIn(('b', '2'), qsl)
示例#4
0
 def test_parsing(self):
     qsstring = "a=1&b=2&a=3"
     qs = urllib.parse.parse_qs(qsstring)
     qsl = list(qs_to_qsl(qs))
     self.assertIn(("a", "1"), qsl)
     self.assertIn(("a", "3"), qsl)
     self.assertIn(("b", "2"), qsl)