Example #1
0
 def test_double_pair_should_be_parsed_correctly(self):
     self.assertEqual({'key1': 'value1', 'key2': 'value2'},
                      parse_parameters('key1=value1,key2=value2'))
Example #2
0
 def test_single_pair_should_be_parsed_correctly(self):
     self.assertEqual({'key1': 'value1'}, parse_parameters('key1=value1'))