'GitLab webhook unhandled event'

def test_gitlab_invalid_webhook(self, trigger_build):

    client = APIClient()
    resp = client.post('/api/v2/webhook/gitlab/{0}/'.format(self.project.slug), {'object_kind': 'pull_request'}, format='json')
    self.assertEqual(resp.status_code, 200)
    self.assertEqual(resp.data['detail'], 'Unhandled    webhook    event')
