예제 #1
0
 def test_canal(self):
     news, title = nst.get_most_read('tec_canal')
     self.assertEqual(len(news), 9)
예제 #2
0
 def test_uol(self):
     news, title = nst.get_most_read('tec_uol')
     self.assertEqual(len(news), 5)
예제 #3
0
 def test_giz(self):
     news, title = nst.get_most_read('tec_giz')
     self.assertEqual(len(news), 15)
예제 #4
0
 def test_olhar(self):
     news, title = nst.get_most_read('tec_olhar')
     self.assertEqual(len(news), 9)