def load_collection_tree(self, root):
        model = gtk.TreeStore(gobject.TYPE_STRING, gobject.TYPE_STRING,
                              gobject.TYPE_STRING)
        model.append(None, (_('<b>Recent Photos</b>'), '', TV_KIND_RECENT))
        dirlist = os.listdir(root)
        for entry in sorted(dirlist):
            fullpath = os.path.join(root, entry)
            entry = html_escape(entry)
            if os.path.isdir(fullpath):
                model.append(None, (entry, fullpath, TV_KIND_DIR))
        self.tree.set_model(model)

    # pylint: disable=C0103
Prepares the test fixture before each test method is called.
dataset/ETHPy150Open thesamet/webilder/src/webilder/WebilderDesktop.py/WebilderDesktopWindow.load_collection_tree--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/ui/action/tests/action_manager_builder_test_case.py/ActionManagerBuilderTestCase.setUp