From 5196e84e9c11a8fc8be19e722703cb8a51052d00 Mon Sep 17 00:00:00 2001 From: ulif <uli@gnufix.de> Date: Fri, 24 Feb 2017 03:55:25 +0100 Subject: [PATCH] Update test description. --- tests/test_random_sources.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_random_sources.py b/tests/test_random_sources.py index 6215768..8b9d610 100644 --- a/tests/test_random_sources.py +++ b/tests/test_random_sources.py @@ -229,9 +229,9 @@ class TestRealDiceRandomSource(object): out, err = capsys.readouterr() assert "Please roll 5 dice (or a single dice 5 times)." in out - def test_sequence_less_than_dice_sides(self, capsys, fake_input): - # Test to see whether we can use a n-sided die to choose from - # a sequence with less than n items + def test_choice_copes_with_small_sequences(self, capsys, fake_input): + # We handle sequences correctly, that have less elements than the used + # dice sides. src = RealDiceRandomSource(None) src.dice_sides = 6 # A length of 1 requires no rolls -- GitLab