From 6628dcc1cac04dbc493bcf448cc6e2aa556af84a Mon Sep 17 00:00:00 2001 From: Liana Bakradze Date: Tue, 10 May 2016 14:38:49 +0300 Subject: [PATCH] EDU-605 Tests always pass --- .../resources/fileTemplates/internal/test_helper.py.ft | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/educational-python/resources/fileTemplates/internal/test_helper.py.ft b/python/educational-python/resources/fileTemplates/internal/test_helper.py.ft index d27866c23f01..687bdd580a95 100644 --- a/python/educational-python/resources/fileTemplates/internal/test_helper.py.ft +++ b/python/educational-python/resources/fileTemplates/internal/test_helper.py.ft @@ -90,7 +90,7 @@ def test_is_initial_text(error_text="You should modify the file"): text = get_initial_text(path) file_text = get_file_text(path) - if file_text.strip() == text: + if file_text.strip() == text.strip(): failed(error_text) else: passed()