def METHOD_NAME(self):
    url = "%s/org_code?q=N84014&exact=true&format=json" % self.api_prefix
    response = self.client.get(url, follow=True)
    self.assertEqual(response.status_code, 200)
    content = json.loads(response.content)
    self.assertEqual(len(content), 1)
    self.assertEqual(content[0]["code"], "N84014")
    self.assertEqual(content[0]["name"], "AINSDALE VILLAGE SURGERY")
    url = "%s/org_code?q=P87&exact=true&format=json" % self.api_prefix
    response = self.client.get(url, follow=True)
    self.assertEqual(response.status_code, 200)
    content = json.loads(response.content)
    self.assertEqual(len(content), 0)