Files
edx-platform/cms/djangoapps/contentstore/features/html-editor.py
2013-10-16 17:08:32 -04:00

30 lines
750 B
Python

# disable missing docstring
#pylint: disable=C0111
from lettuce import world, step
@step('I have created a Blank HTML Page$')
def i_created_blank_html_page(step):
world.create_course_with_unit()
world.create_component_instance(
step=step,
category='html',
component_type='Text'
)
@step('I see only the HTML display name setting$')
def i_see_only_the_html_display_name(step):
world.verify_all_setting_entries([['Display Name', "Text", False]])
@step('I have created an E-text Written in LaTeX$')
def i_created_etext_in_latex(step):
world.create_course_with_unit()
world.create_component_instance(
step=step,
category='html',
component_type='E-text Written in LaTeX'
)