Explorar el Código

Adding more tests for New York Times endpoints

David Leonard hace 10 años
padre
commit
f989f28805
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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, '')