def METHOD_NAME(self):
    # Had issues with this test hanging when repositories not happy
    def do_search():
        r = requests.get(_url("/images/search?term=alpine"), timeout=5)
        self.assertEqual(r.status_code, 200, r.text)
        json.loads(r.text)
    search = Process(target=do_search)
    search.start()
    search.join(timeout=10)
    self.assertFalse(search.is_alive(), "/images/search took too long")