'test \'create_child\' method with a detached category (\'static_tab\')
to check that new static tab is not a direct child of the course'

@ddt.data(ModuleStoreEnum.Type.mongo, ModuleStoreEnum.Type.split)
def test_create_child_detached_tabs(self, default_ms):

    self.initdb(default_ms)
    mongo_course = self.store.get_course(self.course_locations[self.MONGO_COURSEID].course_key)
    self.assertEqual(len(mongo_course.children), 1)
    self.store.create_child(self.user_id, self.course.location, 'static_tab')
    mongo_course = self.store.get_course(self.course_locations[self.MONGO_COURSEID].course_key)
    self.assertEqual(len(mongo_course.children), 1)
