def testOrderRankingTableSingularAndPlularPoints(self):
     ranking_table = RankingTable('')
     ranking_table._teams_points = {'FC Awesome':0, 'Tarantulas': 1}
     result_list = ranking_table.orderRankingTable()
     self.assertEqual(len(result_list),2)
     self.assertTrue(result_list[0][-2:]=='pt')
     self.assertTrue(result_list[1][-3:]=='pts')
 def testOrderRankingTableThreeSecondPlaceTeams(self):
     ranking_table = RankingTable('')
     ranking_table._teams_points = {'FC Awesome':3, 'Tarantulas': 6, 'Grouches':0, 'Lions':3, 'Snakes':3, }
     result_list = ranking_table.orderRankingTable()
     self.assertEqual(len(result_list),5)
     self.assertEqual(result_list[0],'1. Tarantulas, 6 pts')
     self.assertEqual(result_list[1],'2. FC Awesome, 3 pts')
     self.assertEqual(result_list[2],'2. Lions, 3 pts')
     self.assertEqual(result_list[3],'2. Snakes, 3 pts')
     self.assertEqual(result_list[4],'5. Grouches, 0 pts')