Sfoglia il codice sorgente

Adding more tests for New York Times endpoints

David Leonard 10 anni fa
parent
commit
f989f28805
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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, '')