def METHOD_NAME(self):
    with mock.patch.dict(self.app.app.registry.settings, [("http_api_version", "1.2")]):
        response = self.app.get("/")
    self.assertTrue(response.json["http_api_version"])