1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
gh-webhook-actor/tests/test_server.py

9 lines
253 B
Python
Raw Permalink Normal View History

2018-10-26 09:16:14 +01:00
from tests import BaseTestCase
class PingEventTestCase(BaseTestCase):
def test_pongs(self):
response = self.send_webhook("ping")
self.assertEqual(response.status_code, 200)
self.assertEqual(response.json, {"ping": "pong"})