Commit 3c43dbb2 by JonahStanley

Changed the other % to format

parent 6d686dd9
...@@ -113,7 +113,7 @@ def create_a_course(): ...@@ -113,7 +113,7 @@ def create_a_course():
# Add the user to the instructor group of the course # Add the user to the instructor group of the course
# so they will have the permissions to see it in studio # so they will have the permissions to see it in studio
g = world.GroupFactory.create(name='instructor_MITx/%s/%s' % (COURSE_NUM, COURSE_NAME.replace(" ", "_"),)) g = world.GroupFactory.create(name='instructor_MITx/{course_num}/{course_name}'.format(course_num=COURSE_NUM, course_name=COURSE_NAME.replace(" ", "_")))
u = get_user_by_email('robot+studio@edx.org') u = get_user_by_email('robot+studio@edx.org')
u.groups.add(g) u.groups.add(g)
u.save() u.save()
......
...@@ -35,7 +35,7 @@ def add_other_user(step, name): ...@@ -35,7 +35,7 @@ def add_other_user(step, name):
@step(u'I delete "([^"]*)" from the course team') @step(u'I delete "([^"]*)" from the course team')
def delete_other_user(step, name): def delete_other_user(step, name):
to_delete_css = '.remove-user[data-id="{name}{extension}"]'.format(name=name, extension=EMAIL_EXTENSION,) to_delete_css = '.remove-user[data-id="{name}{extension}"]'.format(name=name, extension=EMAIL_EXTENSION)
world.css_click(to_delete_css) world.css_click(to_delete_css)
......
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