Python2 syntax
parent
c17868f1cc
commit
b1fea279f8
|
@ -992,8 +992,8 @@ class IntegrationsTests(TestCase):
|
|||
resp = client.post(
|
||||
'/api/v2/webhook/github/{}/'.format(self.project.slug),
|
||||
{'foo': 'bar'},
|
||||
**headers,
|
||||
format='json',
|
||||
**headers,
|
||||
)
|
||||
self.assertEqual(resp.status_code, 403)
|
||||
self.assertEqual(resp.data['detail'], 'Payload not valid')
|
||||
|
|
Loading…
Reference in New Issue