Browse Source

Adding integration tests for Github Top repositories and Github Resume

David Leonard 10 years ago
parent
commit
9939c9f7fd
1 changed files with 9 additions and 1 deletions
  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)