EDU-264 In run_common_tests default error text is always shown
authorLiana Bakradze <liana.bakradze@jetbrains.com>
Wed, 10 Dec 2014 14:39:04 +0000 (17:39 +0300)
committerLiana Bakradze <liana.bakradze@jetbrains.com>
Wed, 10 Dec 2014 14:39:04 +0000 (17:39 +0300)
python/edu/course-creator/resources/fileTemplates/internal/test_helper.py.ft
python/edu/learn-python/resources/courses/introduction_course.zip

index 217d2c42f00bf55df34621fe6d62ef799409b844..41322af4744c209f7fc4b75feaa5901fb91dd3e0 100644 (file)
@@ -193,7 +193,7 @@ def get_answer_placeholders(file_name=None):
 
 
 def run_common_tests(error_text="Please, reload file and try again"):
-    test_file_importable()
+    test_is_initial_text()
     test_is_not_empty()
-    test_is_initial_text(error_text)
-    test_answer_placeholders_text_deleted(error_text)
\ No newline at end of file
+    test_answer_placeholders_text_deleted()
+    test_file_importable()
\ No newline at end of file
index 2ed05980deacbb566f954695ee347b38fc4fa35d..b21bd7b352583fed96a33a31edeae94b8450f95c 100644 (file)
Binary files a/python/edu/learn-python/resources/courses/introduction_course.zip and b/python/edu/learn-python/resources/courses/introduction_course.zip differ