Python2 syntax

master
Santos Gallegos 2018-12-04 11:06:16 -05:00
parent c17868f1cc
commit b1fea279f8
1 changed files with 1 additions and 1 deletions

View File

@ -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')