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
8e675494
Commit
8e675494
authored
Sep 30, 2014
by
Don Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cms hardcoded keys
parent
fd6c9bed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cms/djangoapps/contentstore/features/course-settings.py
+3
-3
No files found.
cms/djangoapps/contentstore/features/course-settings.py
View file @
8e675494
...
...
@@ -150,7 +150,7 @@ def i_see_new_course_image(_step):
images
=
world
.
css_find
(
img_css
)
assert
len
(
images
)
==
1
img
=
images
[
0
]
expected_src
=
'
/c4x/MITx/999/asset/
image.jpg'
expected_src
=
'image.jpg'
# Don't worry about the domain in the URL
success_func
=
lambda
_
:
img
[
'src'
]
.
endswith
(
expected_src
)
...
...
@@ -160,8 +160,8 @@ def i_see_new_course_image(_step):
@step
(
'the image URL should be present in the field'
)
def
image_url_present
(
_step
):
field_css
=
'#course-image-url'
expected_value
=
'
/c4x/MITx/999/asset/
image.jpg'
assert
world
.
css_value
(
field_css
)
==
expected_value
expected_value
=
'image.jpg'
assert
world
.
css_value
(
field_css
)
.
endswith
(
expected_value
)
############### HELPER METHODS ####################
...
...
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