Example #1
0
 def test_own_parse_qs_03(self):
     assert dict(_parse_qs('p=')) == {'p': ['']}
Example #2
0
 def test_own_parse_qs_05(self):
     assert dict(_parse_qs('p=1&')) == {'p': ['1']}
Example #3
0
 def test_own_parse_qs_09(self):
     assert dict(_parse_qs("p=1&q=2&p")) == {"p": ["1", None], "q": ["2"]}
Example #4
0
 def test_own_parse_qs_02(self):
     assert dict(_parse_qs('p')) == {'p': [None]}
Example #5
0
 def test_own_parse_qs_08(self):
     assert dict(_parse_qs('p=1&q=2')) == {'p': ['1'], 'q': ['2']}
Example #6
0
 def test_own_parse_qs_11(self):
     assert dict(_parse_qs('p=1&q=2&p=3')) == {'p': ['1', '3'], 'q': ['2']}
Example #7
0
 def test_own_parse_qs_06(self):
     assert dict(_parse_qs('p=1&q')) == {'p': ['1'], 'q': [None]}
Example #8
0
 def test_own_parse_qs_05(self):
     assert dict(_parse_qs('p=1&')) == {'p': ['1']}
Example #9
0
 def test_own_parse_qs_05(self):
     assert dict(_parse_qs("p=1&")) == {"p": ["1"]}
Example #10
0
 def test_own_parse_qs_06(self):
     assert dict(_parse_qs("p=1&q")) == {"p": ["1"], "q": [None]}
Example #11
0
 def test_own_parse_qs_03(self):
     assert dict(_parse_qs("p=")) == {"p": [""]}
Example #12
0
 def test_own_parse_qs_02(self):
     assert dict(_parse_qs("p")) == {"p": [None]}
Example #13
0
 def test_own_parse_qs_11(self):
     assert dict(_parse_qs("p=1&q=2&p=3")) == {"p": ["1", "3"], "q": ["2"]}
Example #14
0
 def test_own_parse_qs_02(self):
     assert dict(_parse_qs('p')) == {'p': [None]}
Example #15
0
 def test_own_parse_qs_08(self):
     assert dict(_parse_qs('p=1&q=2')) == {'p': ['1'], 'q': ['2']}
Example #16
0
 def test_own_parse_qs_03(self):
     assert dict(_parse_qs('p=')) == {'p': ['']}
Example #17
0
 def test_own_parse_qs_09(self):
     assert dict(_parse_qs('p=1&q=2&p')) == {'p': ['1', None], 'q': ['2']}
Example #18
0
 def test_own_parse_qs_06(self):
     assert dict(_parse_qs('p=1&q')) == {'p': ['1'], 'q': [None]}
Example #19
0
 def test_own_parse_qs_11(self):
     assert dict(_parse_qs('p=1&q=2&p=3')) == {'p': ['1', '3'], 'q': ['2']}
Example #20
0
 def test_own_parse_qs_09(self):
     assert dict(_parse_qs('p=1&q=2&p')) == {'p': ['1', None], 'q': ['2']}
Example #21
0
 def test_own_parse_qs_01(self):
     assert dict(_parse_qs('')) == {}
Example #22
0
 def test_own_parse_qs_01(self):
     assert dict(_parse_qs('')) == {}
Example #23
0
 def test_own_parse_qs_08(self):
     assert dict(_parse_qs("p=1&q=2")) == {"p": ["1"], "q": ["2"]}