From 25e7ee1dd08095747c50dba49dd4b9094d1be276 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 23 Sep 2018 21:03:03 +0200 Subject: [PATCH] Fix wrong signal order in test_question This never raised because of a pytest-qt bug. --- tests/unit/utils/usertypes/test_question.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/utils/usertypes/test_question.py b/tests/unit/utils/usertypes/test_question.py index 20569aab1..09a55329f 100644 --- a/tests/unit/utils/usertypes/test_question.py +++ b/tests/unit/utils/usertypes/test_question.py @@ -49,10 +49,10 @@ def test_mode_invalid(question): @pytest.mark.parametrize('mode, answer, signal_names', [ (usertypes.PromptMode.text, 'foo', ['answered', 'completed']), - (usertypes.PromptMode.yesno, True, ['answered', 'completed', - 'answered_yes']), - (usertypes.PromptMode.yesno, False, ['answered', 'completed', - 'answered_no']), + (usertypes.PromptMode.yesno, True, ['answered', 'answered_yes', + 'completed']), + (usertypes.PromptMode.yesno, False, ['answered', 'answered_no', + 'completed']), ]) def test_done(mode, answer, signal_names, question, qtbot): """Test the 'done' method and completed/answered signals."""