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