def METHOD_NAME(self):
    yield self.setupZulipStatusPush(stream="xyz")
    build = yield self.insert_build_new()
    self._http.expect(
        'post',
        '/api/v1/external/buildbot?api_key=123&stream=xyz',
        json={
            "event": 'new',
            "buildid": 20,
            "buildername": "Builder0",
            "url": "http://localhost:8080/#/builders/79/builds/0",
            "project": "testProject",
            "timestamp": 10000001
        }, code=500)
    self.setUpLogging()
    yield self.sp._got_event(('builds', 20, 'new'), build)
    self.assertLogged('500: Error pushing build status to Zulip')