@@ -0,0 +1,620 @@
+from django.test import TestCase%0Afrom django.test.client import Client%0A%0A%0Aclass TestWebhook(TestCase):%0A%0A    def setUp(self):%0A        %22%22%22initialize the Django test client%22%22%22%0A        self.c = Client()%0A            %0A    def test_your_test(self):%0A        python_dict = %7B%0A            %22eventId%22: %225c0007%22,%0A            %22portalId%22: 999,%0A            %22userEmail%22: %22fake@email.com%22%0A        %7D%0A        %0A        response = self.c.post('/webhook-receiver/',%0A                                json.dumps(python_dict),%0A                                content_type=%22application/json%22)%0A        self.assertEqual(self.response.status_code, 200)%0A

Create test_base.py