Skip to content

Commit

Permalink
Merge 23fe3b6 into 4fb14c8
Browse files Browse the repository at this point in the history
  • Loading branch information
drvinceknight committed Aug 14, 2018
2 parents 4fb14c8 + 23fe3b6 commit 1dc2c1c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions axelrod/tests/unit/test_tournament.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ def test_property_serial_play(self, tournament):
self.assertEqual(results.players, [str(p) for p in tournament.players])

def test_parallel_play(self):
print("foo")
# Test that we get an instance of ResultSet
tournament = axelrod.Tournament(
name=self.test_name,
Expand All @@ -433,12 +434,13 @@ def test_parallel_play(self):
name=self.test_name,
players=players,
game=self.game,
turns=20,
repetitions=self.test_repetitions)
turns=2,
repetitions=2)
scores = tournament.play(processes=2, progress_bar=False).scores
self.assertEqual(len(scores), len(players))

def test_parallel_play_with_writing_to_file(self):
print("bar")
tournament = axelrod.Tournament(
name=self.test_name,
players=self.players,
Expand Down

0 comments on commit 1dc2c1c

Please sign in to comment.