Commit ff156438 by Carson Gee

Corrected test names and doc strings

parent c4ea3380
......@@ -124,7 +124,7 @@ class MongoCourseImageTestCase(ModuleStoreTestCase):
)
)
def test_static_asset_path_default(self):
def test_static_asset_path_course_image_default(self):
"""
Test that without course_image being set, but static_asset_path
being set that we get the right course_image url.
......@@ -135,10 +135,10 @@ class MongoCourseImageTestCase(ModuleStoreTestCase):
'/static/foo/images/course_image.jpg'
)
def test_static_asset_path_set(self):
def test_static_asset_path_course_image_set(self):
"""
Test that without course_image being set, but static_asset_path
being set that we get the right course_image url.
Test that with course_image and static_asset_path both
being set, that we get the right course_image url.
"""
course = CourseFactory.create(course_image=u'things_stuff.jpg',
static_asset_path="foo")
......
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