From bd9393e0f10152eed094b861df1fe1e6f0020a2e Mon Sep 17 00:00:00 2001 From: Grociu Date: Thu, 20 Jun 2019 21:48:15 +0200 Subject: [PATCH] tournament: sync with canon --- exercises/tournament/tournament.py | 2 +- exercises/tournament/tournament_test.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/tournament/tournament.py b/exercises/tournament/tournament.py index abe43e329d..89f23c131e 100644 --- a/exercises/tournament/tournament.py +++ b/exercises/tournament/tournament.py @@ -1,2 +1,2 @@ -def tally(tournament_results): +def tally(rows): pass diff --git a/exercises/tournament/tournament_test.py b/exercises/tournament/tournament_test.py index d9f19168a7..cb5706c098 100644 --- a/exercises/tournament/tournament_test.py +++ b/exercises/tournament/tournament_test.py @@ -12,7 +12,7 @@ def test_just_the_header_if_no_input(self): ['Team | MP | W | D | L | P'] ) - def test_a_win_is_three_points_and_a_loss_is_zero_points(self): + def test_a_win_is_three_points_a_loss_is_zero_points(self): results = ['Allegoric Alaskans;Blithering Badgers;win'] table = ['Team | MP | W | D | L | P', 'Allegoric Alaskans | 1 | 1 | 0 | 0 | 3', @@ -82,7 +82,7 @@ def test_typical_input(self): self.assertEqual(tally(results), table) - def test_incomplete_competitionnot_not_all_pairs_have_played(self): + def test_incomplete_competition_not_all_pairs_have_played(self): results = ['Allegoric Alaskans;Blithering Badgers;loss', 'Devastating Donkeys;Allegoric Alaskans;loss', 'Courageous Californians;Blithering Badgers;draw',