Conditions | 1 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """ |
||
11 | @pytest.fixture(scope='module') |
||
12 | def webhook_settings(): |
||
13 | scope = 'any' |
||
14 | scope_id = None |
||
15 | format = 'weitersager' |
||
16 | url = 'http://127.0.0.1:12345/' |
||
17 | enabled = True |
||
18 | |||
19 | webhook = webhook_service.create_outgoing_webhook( |
||
20 | scope, scope_id, format, url, enabled |
||
21 | ) |
||
22 | |||
23 | yield |
||
24 | |||
25 | webhook_service.delete_outgoing_webhook(webhook.id) |
||
26 | |||
31 |