Add tests for build web hooks endpoint
This commit is contained in:
parent
0ea600628b
commit
6f567e0850
7 changed files with 64 additions and 12 deletions
|
@ -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:
|
||||
('''{
|
||||
|
|
Reference in a new issue