fixed quaility errors in instructor_dashboard.py, moved test_instructor_dashboard under tests/views directory

This commit is contained in:
Dennis Jen
2014-11-06 13:42:00 -05:00
parent 66b3e3828f
commit d3e051ce29
2 changed files with 8 additions and 2 deletions

View File

@@ -38,10 +38,16 @@ class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase):
patch.stopall()
def get_dashboard_enrollment_message(self):
"""
Returns expected dashboard enrollment message with link to Insights.
"""
return 'Enrollment data is now available in <a href="http://example.com/courses/{}" ' \
'target="_blank">Example</a>.'.format(unicode(self.course.id))
def get_dashboard_demographic_message(self):
"""
Returns expected dashboard demographic message with link to Insights.
"""
return 'Demographic data is now available in <a href="http://example.com/courses/{}" ' \
'target="_blank">Example</a>.'.format(unicode(self.course.id))