19 lines
654 B
Python
19 lines
654 B
Python
#pylint: disable=C0111
|
|
#pylint: disable=W0621
|
|
|
|
from lettuce import world, step
|
|
|
|
@step('I have created a Discussion Tag$')
|
|
def i_created_blank_common_problem(step):
|
|
world.create_component_instance(step, '.large-discussion-icon', 'i4x://edx/templates/discussion/Discussion_Tag',
|
|
'.xmodule_DiscussionModule')
|
|
|
|
@step('I see three alphabetized settings and their expected values$')
|
|
def i_see_only_the_display_name(step):
|
|
world.verify_all_setting_entries(
|
|
[
|
|
['Category', "Week 1", True],
|
|
['Display Name', "Discussion Tag", True],
|
|
['Subcategory', "Topic-Level Student-Visible Label", True]
|
|
])
|