Browse Source

Adding integration test for twilio endpoint

David Leonard 10 năm trước cách đây
mục cha
commit
ae5fa18231
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      hackathon_starter/hackathon/tests.py

+ 4 - 0
hackathon_starter/hackathon/tests.py

@@ -38,3 +38,7 @@ class HackathonViewsTestCase(TestCase):
 	def testGithubResume(self):
 		resp = self.client.get('/hackathon/githubResume/')
 		self.assertEqual(resp.status_code, 200)
+
+	def testTwilio(self):
+		resp = self.client.get('/hackathon/twilio/')
+		self.assertEqual(resp.status_code, 200)