8 lines
253 B
Python
8 lines
253 B
Python
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"})
|