Browse Source

Adding integration test for steam/ name key

David Leonard 10 years ago
parent
commit
4c9b7f2306
1 changed files with 6 additions and 0 deletions
  1. 6 0
      hackathon_starter/hackathon/tests.py

+ 6 - 0
hackathon_starter/hackathon/tests.py

@@ -27,6 +27,12 @@ class HackathonViewsTestCase(TestCase):
 			if 'name' in dict:
 				self.assertTrue('name' in dict)
 
+	def testSteamImg(self):
+		resp = self.client.get('/hackathon/steam/')
+		for dict in resp.context:
+			self.assertTrue('name' in dict)
+
+
 	def testQuandlDowJones(self):
 		resp = self.client.get('/hackathon/quandlDowJones/')
 		self.assertEqual(resp.status_code, 200)