From c33261aefc0dc8e266344b94011c5b43b2974ecf Mon Sep 17 00:00:00 2001 From: Jay Zoldak Date: Mon, 16 Jun 2014 13:47:14 -0400 Subject: [PATCH] Speed up test by fixing negative assertion --- cms/djangoapps/contentstore/features/section.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/features/section.py b/cms/djangoapps/contentstore/features/section.py index 094917f58a..eef87e1f4e 100644 --- a/cms/djangoapps/contentstore/features/section.py +++ b/cms/djangoapps/contentstore/features/section.py @@ -73,7 +73,7 @@ def i_click_on_section_name_in_modal(_step): @step('I see no form for editing section name in modal$') def edit_section_name_form_not_exist(_step): - assert not world.is_css_present('.modal-window .section-name input') + assert world.is_css_not_present('.modal-window .section-name input') @step('I see the complete section name with a quote in the editor$')