Yes. we should test that. I think I have tests of that for split mongo but
idk about current mongo's tests.


On Wed, Apr 30, 2014 at 2:48 PM, Nimisha Asthagiri <notifications@github.com
> wrote:

> In cms/djangoapps/contentstore/tests/test_course_listing.py:
>
> > -        self._create_course_with_access_groups(course_location, 'group_name_with_dots', self.user)
> > -
> > -        # create a course with old groups name format e.g. 'instructor_edX/Course/Run'
> > -        old_course_location = Location(['i4x', 'Org_2', 'Course_2', 'course', 'Run_2'])
> > -        self._create_course_with_access_groups(old_course_location, 'group_name_with_slashes', self.user)
> > -
> > -        # get courses through iterating all courses
> > -        courses_list = _accessible_courses_list(request)
> > -        self.assertEqual(len(courses_list), 2)
> > -
> > -        # get courses by reversing groups name
> > -        courses_list_by_groups = _accessible_courses_list_from_groups(request)
> > -        self.assertEqual(len(courses_list_by_groups), 2)
> > -
> > -        # create a new course with older group name format (with dots in names) e.g. 'instructor_edX/Course.name/Run.1'
> > -        old_course_location = Location(['i4x', 'Org.Foo.Bar', 'Course.number', 'course', 'Run.name'])
>
> @dmitchell <https://github.com/dmitchell> There used to be a test that
> created Courses with 'dots' in the course and run names. Since this is now
> deleted, should we add another test case somewhere that does the same?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/3537/files#r12159237>
> .
>