Browse Source

Adding more tests for New York Times endpoints

David Leonard 10 năm trước cách đây
mục cha
commit
f989f28805
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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, '')