فهرست منبع

Adding integration tests for Github Top repositories and Github Resume

David Leonard 10 سال پیش
والد
کامیت
9939c9f7fd
1فایلهای تغییر یافته به همراه9 افزوده شده و 1 حذف شده
  1. 9 1
      hackathon_starter/hackathon/tests.py

+ 9 - 1
hackathon_starter/hackathon/tests.py

@@ -29,4 +29,12 @@ class HackathonViewsTestCase(TestCase):
 
 	def testGithubUser(self):
 		resp = self.client.get('/hackathon/githubUser/')
-		self.assertEqual(resp.status_code, 200)
+		self.assertEqual(resp.status_code, 200)
+
+	def testGithubTopRepositories(self):
+		resp = self.client.get('/hackathon/githubTopRepositories/')
+		self.assertEqual(resp.status_code, 200)
+
+	def testGithubResume(self):
+		resp = self.client.get('/hackathon/githubResume/')
+		self.assertEqual(resp.status_code, 200)