html-editor.py 750 Bytes
Newer Older
cahrens committed
1
# disable missing docstring
cahrens committed
2 3 4 5
#pylint: disable=C0111

from lettuce import world, step

6

cahrens committed
7
@step('I have created a Blank HTML Page$')
cahrens committed
8
def i_created_blank_html_page(step):
9
    world.create_course_with_unit()
10
    world.create_component_instance(
11 12 13
        step=step,
        category='html',
        component_type='Text'
14 15
    )

cahrens committed
16 17 18

@step('I see only the HTML display name setting$')
def i_see_only_the_html_display_name(step):
19
    world.verify_all_setting_entries([['Display Name', "Text", False]])
20 21 22


@step('I have created an E-text Written in LaTeX$')
23
def i_created_etext_in_latex(step):
24
    world.create_course_with_unit()
25
    world.create_component_instance(
26 27 28
        step=step,
        category='html',
        component_type='E-text Written in LaTeX'
29
    )