From 75cc01baed4d6026297f065cc84fb44eaed83c35 Mon Sep 17 00:00:00 2001 From: Christian Knudsen Date: Fri, 16 Sep 2016 12:30:12 +0200 Subject: [PATCH] Error in tests of string multiplication task Same as pull request #11 --- introduction_course_v2/lesson3/task2/tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/introduction_course_v2/lesson3/task2/tests.py b/introduction_course_v2/lesson3/task2/tests.py index e71e4ae..e6ec680 100644 --- a/introduction_course_v2/lesson3/task2/tests.py +++ b/introduction_course_v2/lesson3/task2/tests.py @@ -5,7 +5,8 @@ def test_value(): file = import_task_file() if file.tenofhellos == "hellohellohellohellohellohellohellohellohellohello": passed() - failed("Use multiplication") + else: + failed("Use multiplication") def test_window(): window = get_answer_placeholders()[0] @@ -18,4 +19,4 @@ def test_window(): run_common_tests("You should modify the file") test_value() - test_window() \ No newline at end of file + test_window()