mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 15:33:09 +01:00
Remove debug output code from tests
This commit is contained in:
parent
7aa7f0eca2
commit
b0977a44d0
@ -145,13 +145,6 @@ class WebhookTest(APITestCase):
|
||||
'submitter_email',
|
||||
'title']
|
||||
)
|
||||
with open("/tmp/request", "w") as fd:
|
||||
import json
|
||||
json.dump(handled_webhook_requests['new_ticket_requests_1'][-1]["ticket"], fd, indent=4, default=str)
|
||||
with open("/tmp/serilaizer_data", "w") as fd:
|
||||
import json
|
||||
json.dump(serializer.data, fd, indent=4, default=str)
|
||||
|
||||
self.assertEqual(serializer.data, handled_webhook_requests["new_ticket_requests"][-1]["ticket"])
|
||||
response = self.client.post('/api/followups/', {
|
||||
'ticket': handled_webhook_requests['new_ticket_requests'][-1]["ticket"]["id"],
|
||||
|
Loading…
Reference in New Issue
Block a user