Exemplo n.º 1
0
 def test_dict_to_querystring_converts_empty_dict_to_querystring(self):
     expected = ""
     actual = utils.dict_to_querystring({})
     assert actual == expected
Exemplo n.º 2
0
 def test_dict_to_querystring_converts_empty_dict_to_querystring(self):
     expected = ""
     actual = utils.dict_to_querystring({})
     assert actual == expected
Exemplo n.º 3
0
 def test_dict_to_querystring_converts_dict_to_querystring(self):
     expected = "?foo=bar"
     actual = utils.dict_to_querystring({"foo": ["bar"]})
     assert actual == expected
Exemplo n.º 4
0
 def test_dict_to_querystring_converts_dict_to_querystring(self):
     expected = "?foo=bar"
     actual = utils.dict_to_querystring({"foo": ["bar"]})
     assert actual == expected