def test_validation_elife_projects(self): "elife projects (and their alternative configurations) that come with the builder pass validation" # HERE BE DRAGONS # resets the testing config.SETTINGS_FILE we set in the base.BaseCase class self.switch_out_test_settings() for pname in project.aws_projects().keys(): self.assertTrue(cfngen.validate_project(pname)) sleep(0.25) self.switch_in_test_settings()
def test_validation(self): "dummy projects and their alternative configurations pass validation" for pname in project.aws_projects().keys(): self.assertTrue(cfngen.validate_project(pname)) sleep(0.25)
def test_rendering(self): for pname in project.aws_projects().keys(): LOG.info('rendering %s', pname) cfngen.quick_render(pname)
def elife_projects(): switch_out_test_settings() return project.aws_projects().keys()
def test_projects(): switch_in_test_settings() return project.aws_projects().keys()