Commit 8110307b by JonahStanley

CMS now refactored to use world dictionary

parent 131f1a49
......@@ -120,9 +120,9 @@ def create_studio_user(
def fill_in_course_info(
name=world.scenario_dict['COURSE_NAME'],
org=world.scenario_dict['COURSE_ORG'],
num=world.scenario_dict['COURSE_NUM']):
name='Robot Super Course',
org='MITx',
num='999'):
world.css_fill('.new-course-name', name)
world.css_fill('.new-course-org', org)
world.css_fill('.new-course-number', num)
......
......@@ -64,7 +64,7 @@ def change_assignment_name(step, old_name, new_name):
@step(u'I go back to the main course page')
def main_course_page(step):
main_page_link_css = 'a[href="/MITx/999/course/Robot_Super_Course"]'
main_page_link_css = 'a[href="/%s/%s/course/%s"]' % (world.scenario_dict['COURSE_ORG'], world.scenario_dict['COURSE_NUM'], world.scenario_dict['COURSE_NAME'].replace(' ', '_'),)
world.css_click(main_page_link_css)
......
R2FUIGM88K
\ No newline at end of file
This is an arbitrary file for testing uploads
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment