def test_dict_to_querystring_converts_empty_dict_to_querystring(self): expected = "" actual = utils.dict_to_querystring({}) assert actual == expected
def test_dict_to_querystring_converts_dict_to_querystring(self): expected = "?foo=bar" actual = utils.dict_to_querystring({"foo": ["bar"]}) assert actual == expected