コード例 #1
0
class SIT(unittest.TestCase):
    def setUp(self):
        configs_directory = 'tests/sit/configs'
        self.sit_template = SITTemplate(configs_directory)

    def test_print_template(self):
        result = self.sit_template.print_template()
        self.assertEquals(result, None)
コード例 #2
0
class SIT(unittest.TestCase):
    
    def setUp(self):
        configs_directory = 'tests/sit/configs'
        self.sit_template = SITTemplate(configs_directory)

    def test_print_template(self):
        result = self.sit_template.print_template()
        self.assertEquals(result, None)
コード例 #3
0
 def setUp(self):
     configs_directory = 'tests/sit/configs'
     self.sit_template = SITTemplate(configs_directory)
コード例 #4
0
 def test_validate_template(self):
     template_body = SITTemplate(self.configs_directory).template.to_json()
     negative_result = self.cf_helper_placebo.validate_template(
         template_body)
     self.assertEquals(negative_result, None)
コード例 #5
0
 def setUp(self):
     configs_directory = 'tests/sit/configs'
     self.sit_template = SITTemplate(configs_directory)