

@responses.activate
def test_googl_short_method():
    body = json.dumps(dict(id=short_url))
    url = '{}?key={}'.format(s.api_url, api_key)
    responses.add(responses.POST, url, body=url, match_querystring=True)
    shorten = s.short(expanded)
    assert (shorten == short_url)

dataset/ETHPy150Open ellisonleao/pyshorteners/tests/test_googl.py test_googl_short_method/VarMisuse@53/64 `body`->`url`