Add tests for build web hooks endpoint

This commit is contained in:
Joseph Schorr 2017-03-20 13:22:59 -04:00
parent 0ea600628b
commit 6f567e0850
7 changed files with 64 additions and 12 deletions

View file

@ -36,7 +36,7 @@ def test_lookup_user(email, expected_response, gitlab_trigger):
@pytest.mark.parametrize('payload, expected_error, expected_message', [
('{}', SkipRequestException, ''),
('{}', InvalidPayloadException, ''),
# Valid payload:
('''{