def __create_configuration(self): "Create the temporary repository for the configuration." logging.getLogger().info(MESSAGE_BVI_CONFIGURATION) temporary_folder = "%s_tmp" % self.args.repository rep = Repository(temporary_folder, self.config, self.components, with_dependencies=not self.args.no_dependencies, with_thirdparty=not self.args.no_thirdparty) rep.create()
def test_Repository_create(): x = Configuration() y = [ Project('soma', x), Project('aims', x), Project('anatomist', x), Project('axon', x) ] z = Repository(folder="%s/out/Repository_Final" % FULLPATH, configuration=x, components=y) z.create()