def METHOD_NAME(self,):
    "test the json data extraction"
    params = {
        "ip": "1.1.1.1",
        "apikey": "aaa",
        "hostname": True,
        "language": "de",
    }
    module = Mock()
    module.params = params
    data = json.loads(IPBASE_DATA['response'].decode("utf-8"))
    IpbaseInfo._get_url_data = Mock()
    IpbaseInfo._get_url_data.return_value = data
    jenkins_plugin = IpbaseInfo(module)
    json_data = jenkins_plugin.info()
    self.maxDiff = None
    self.assertDictEqual(json_data, data)