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()
Exemplo n.º 2
0
    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)
Exemplo n.º 5
0
def elife_projects():
    switch_out_test_settings()
    return project.aws_projects().keys()
Exemplo n.º 6
0
def test_projects():
    switch_in_test_settings()
    return project.aws_projects().keys()
Exemplo n.º 7
0
def elife_projects():
    switch_out_test_settings()
    return project.aws_projects().keys()
Exemplo n.º 8
0
def test_projects():
    switch_in_test_settings()
    return project.aws_projects().keys()
Exemplo n.º 9
0
 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)
Exemplo n.º 10
0
 def test_rendering(self):
     for pname in project.aws_projects().keys():
         LOG.info('rendering %s', pname)
         cfngen.quick_render(pname)