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.
|
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"})
|