Exemple #1
0
 def test_one_vote(self):
     self.assertEqual(1, Scrapper.get_votes(ONE_VOTE_HTML))
Exemple #2
0
 def test_some_votes(self):
     self.assertEqual(53773, Scrapper.get_votes(LOT_VOTES_HTML))
Exemple #3
0
 def test_empty_votes(self):
     self.assertEqual(0, Scrapper.get_votes(ZERO_VOTES_HTML))