'Ensure that colons in url_names convert to file paths properly'

def test_colon_in_url_name(self):

    print 'Starting    import'
    modulestore = XMLModuleStore(DATA_DIR, source_dirs=['toy'])
    courses = modulestore.get_courses()
    self.assertEquals(len(courses), 1)
    course = courses[0]
    print 'course    errors:'
    for (msg, err) in modulestore.get_course_errors(course.id):
        print msg
        print err
    chapters = course.get_children()
    self.assertEquals(len(chapters), 5)
    ch2 = chapters[1]
    self.assertEquals(ch2.url_name, 'secret:magic')
    print 'Ch2    location:    ', ch2.location
    also_ch2 = modulestore.get_item(ch2.location)
    self.assertEquals(ch2, also_ch2)
    print 'making    sure    html    loaded'
    loc = course.id.make_usage_key('html', 'secret:toylab')
    html = modulestore.get_item(loc)
    self.assertEquals(html.display_name, 'Toy    lab')
