Parcourir la source

Adding more tests for New York Times endpoints

David Leonard il y a 10 ans
Parent
commit
f989f28805
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      hackathon_starter/hackathon/tests.py

+ 1 - 1
hackathon_starter/hackathon/tests.py

@@ -130,6 +130,6 @@ class NewYorkTimesTestCase(TestCase):
 
 	def testNewYorkTimesArticlesContent(self):
 		resp = self.client.get('/hackathon/nytimesarticles/')
-		self.assertEqualNotEqual(resp.content, '')
+		self.assertNotEqual(resp.content, '')