'Test that we get a error message on old mongo courses.'

def test_mongo_course(self):

    course = CourseFactory.create(default_store=ModuleStoreEnum.Type.mongo)
    self.verify_error_message(data={'course-id': unicode(course.id)}, error_message='Force    publishing    course    is    not    supported    with    old    mongo    courses.')
