def profilesChain(compilation, project, argsObj = None): if argsObj is None: argsObj = Console2obj.consoleaArgs2obj(DefaultArgsObj()) if not (BuildProfiles.DEFAULT_PROFILE_NAME in argsObj.profile): argsObj.profile = [BuildProfiles.DEFAULT_PROFILE_NAME] + argsObj.profile for profileName in argsObj.profile: BuildProfiles.applyProfile(compilation, project, profileName, argsObj) LIBS_REG_OFFICE.setupArgsObj(argsObj, project.getRoot())
def testSysArgv(self): consInfo = Console2obj.consoleaArgs2obj() self.assertEquals({}, consInfo.__dict__)