Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
2f504ec4
Commit
2f504ec4
authored
May 30, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix merge conflict
parent
a1b62912
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
cms/djangoapps/contentstore/features/problem-editor.py
+0
-9
No files found.
cms/djangoapps/contentstore/features/problem-editor.py
View file @
2f504ec4
...
@@ -14,17 +14,14 @@ SHOW_ANSWER = "Show Answer"
...
@@ -14,17 +14,14 @@ SHOW_ANSWER = "Show Answer"
############### ACTIONS ####################
############### ACTIONS ####################
@step
(
'I have created a Blank Common Problem$'
)
@step
(
'I have created a Blank Common Problem$'
)
def
i_created_blank_common_problem
(
step
):
def
i_created_blank_common_problem
(
step
):
<<<<<<<
HEAD
world
.
create_component_instance
(
step
,
'.large-problem-icon'
,
'i4x://edx/templates/problem/Blank_Common_Problem'
,
world
.
create_component_instance
(
step
,
'.large-problem-icon'
,
'i4x://edx/templates/problem/Blank_Common_Problem'
,
'.xmodule_CapaModule'
)
'.xmodule_CapaModule'
)
=======
world
.
create_component_instance
(
world
.
create_component_instance
(
step
,
step
,
'.large-problem-icon'
,
'.large-problem-icon'
,
'i4x://edx/templates/problem/Blank_Common_Problem'
,
'i4x://edx/templates/problem/Blank_Common_Problem'
,
'.xmodule_CapaModule'
'.xmodule_CapaModule'
)
)
>>>>>>>
a0efd3a5d7045dd9369869fd15fc2cc4ecdb6cc1
@step
(
'I edit and select Settings$'
)
@step
(
'I edit and select Settings$'
)
...
@@ -56,8 +53,6 @@ def my_display_name_change_is_persisted_on_save(step):
...
@@ -56,8 +53,6 @@ def my_display_name_change_is_persisted_on_save(step):
verify_modified_display_name
()
verify_modified_display_name
()
<<<<<<<
HEAD
=======
@step
(
'I can specify special characters in the display name'
)
@step
(
'I can specify special characters in the display name'
)
def
i_can_modify_the_display_name_with_special_chars
(
step
):
def
i_can_modify_the_display_name_with_special_chars
(
step
):
world
.
get_setting_entry
(
DISPLAY_NAME
)
.
find_by_css
(
'.setting-input'
)[
0
]
.
fill
(
"updated '
\"
&"
)
world
.
get_setting_entry
(
DISPLAY_NAME
)
.
find_by_css
(
'.setting-input'
)[
0
]
.
fill
(
"updated '
\"
&"
)
...
@@ -70,7 +65,6 @@ def special_chars_persisted_on_save(step):
...
@@ -70,7 +65,6 @@ def special_chars_persisted_on_save(step):
verify_modified_display_name_with_special_chars
()
verify_modified_display_name_with_special_chars
()
>>>>>>>
a0efd3a5d7045dd9369869fd15fc2cc4ecdb6cc1
@step
(
'I can revert the display name to unset'
)
@step
(
'I can revert the display name to unset'
)
def
can_revert_display_name_to_unset
(
step
):
def
can_revert_display_name_to_unset
(
step
):
world
.
revert_setting_entry
(
DISPLAY_NAME
)
world
.
revert_setting_entry
(
DISPLAY_NAME
)
...
@@ -198,12 +192,9 @@ def verify_modified_display_name():
...
@@ -198,12 +192,9 @@ def verify_modified_display_name():
world
.
verify_setting_entry
(
world
.
get_setting_entry
(
DISPLAY_NAME
),
DISPLAY_NAME
,
'modified'
,
True
)
world
.
verify_setting_entry
(
world
.
get_setting_entry
(
DISPLAY_NAME
),
DISPLAY_NAME
,
'modified'
,
True
)
<<<<<<<
HEAD
=======
def
verify_modified_display_name_with_special_chars
():
def
verify_modified_display_name_with_special_chars
():
world
.
verify_setting_entry
(
world
.
get_setting_entry
(
DISPLAY_NAME
),
DISPLAY_NAME
,
"updated '
\"
&"
,
True
)
world
.
verify_setting_entry
(
world
.
get_setting_entry
(
DISPLAY_NAME
),
DISPLAY_NAME
,
"updated '
\"
&"
,
True
)
>>>>>>>
a0efd3a5d7045dd9369869fd15fc2cc4ecdb6cc1
def
verify_unset_display_name
():
def
verify_unset_display_name
():
world
.
verify_setting_entry
(
world
.
get_setting_entry
(
DISPLAY_NAME
),
DISPLAY_NAME
,
''
,
False
)
world
.
verify_setting_entry
(
world
.
get_setting_entry
(
DISPLAY_NAME
),
DISPLAY_NAME
,
''
,
False
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment