def METHOD_NAME(self):
    import os
    import shutil
    from modules import config
    self.test_dir = config.dir_tmp + "/tests/osmbin/"
    shutil.rmtree(self.test_dir, True)
    OsmBin.InitFolder(self.test_dir)
    self.o = OsmBin.OsmBin(self.test_dir, "w")
    self.o.Import("tests/osmbin_open_relations.osm")
    del self.o
    dirname = config.dir_tmp + "/tests/"
    try:
        os.makedirs(dirname)
    except OSError:
        if os.path.isdir(dirname):
            pass
        else:
            raise
    self.xml_res_file = os.path.join(dirname, "osmbin_open_relations.test.xml")
    (self.conf, self.analyser_config) = self.init_config(dst=self.xml_res_file)