瀏覽代碼

Adding more tests for New York Times endpoints

David Leonard 10 年之前
父節點
當前提交
f989f28805
共有 1 個文件被更改,包括 1 次插入1 次删除
  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):
 	def testNewYorkTimesArticlesContent(self):
 		resp = self.client.get('/hackathon/nytimesarticles/')
 		resp = self.client.get('/hackathon/nytimesarticles/')
-		self.assertEqualNotEqual(resp.content, '')
+		self.assertNotEqual(resp.content, '')