コード例 #1
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()
コード例 #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()
コード例 #3
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)
コード例 #4
0
 def test_rendering(self):
     for pname in project.aws_projects().keys():
         LOG.info('rendering %s', pname)
         cfngen.quick_render(pname)
コード例 #5
0
ファイル: base.py プロジェクト: elifesciences/builder
def elife_projects():
    switch_out_test_settings()
    return project.aws_projects().keys()
コード例 #6
0
ファイル: base.py プロジェクト: elifesciences/builder
def test_projects():
    switch_in_test_settings()
    return project.aws_projects().keys()
コード例 #7
0
ファイル: base.py プロジェクト: swipswaps/builder
def elife_projects():
    switch_out_test_settings()
    return project.aws_projects().keys()
コード例 #8
0
ファイル: base.py プロジェクト: swipswaps/builder
def test_projects():
    switch_in_test_settings()
    return project.aws_projects().keys()
コード例 #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)
コード例 #10
0
 def test_rendering(self):
     for pname in project.aws_projects().keys():
         LOG.info('rendering %s', pname)
         cfngen.quick_render(pname)