def test_get_table(self): test_rounds = TournamentSystemOlympic(PLAYERS_LIST) test_rounds.get_current_round_results = Mock() test_rounds._data = DATA table = test_rounds.get_table() for line in table: print(line)