def METHOD_NAME(self):
    param = {'filename': HOSTSFILE,
             'type': 'hosts'}
    with self.app.test_request_context('/machineresolver/test',
                                       data=param,
                                       method='POST',
                                       headers={'Authorization': self.at}):
        res = self.app.full_dispatch_request()
        self.assertTrue(res.status_code == 200, res)
        result = res.json.get("result")
        detail = res.json.get("detail")
        self.assertFalse(result.get("value"), result)
        self.assertEqual("Not Implemented", detail.get("description"))