def setUp(self): self.settings = Settings() self.settings.environmentdefs = { 'any': ['localhost'], } self.settings.roledefs = { 'role': ['localhost'], }
def setUp(self): self.settings = Settings() self.settings.environmentdefs = { "test1": ["host1", "host2", "host3"], "test2": ["host2", "host3"], "test3": [] } self.settings.roledefs = { "role1": ["host1", "host2", "host3"], "role2": ["host2", "host3"], "role3": [], }
def setUp(self): self.settings = Settings() self.settings.environmentdefs = { "environment": ["host"], } self.settings.roledefs = { "role": ["host"], } self.settings.componentdefs = { "role": ["component"], } self.component = self.settings.for_env( "environment").components().next()
def setUp(self): self.settings = Settings() self.settings.environmentdefs = { "test1": ["host1", "host2", "host3"], "test2": ["host2", "host3"], "test3": [] } self.settings.roledefs = { "role1": ["host1", "host2", "host3"], "role2": ["host2", "host3"], "role3": [], } self.settings.componentdefs = { "role1": ["comp1", "compgroup"], "compgroup": ["comp2", "comp3"], }
def setUp(self): self.dir_name = join(dirname(__file__), "data/default") self.settings = Settings()
def setUp(self): self.settings = Settings()