Exemplo n.º 1
0
 def test_missing_api_version(self):
     with self.assertRaises(ConfigurationError):
         config = get_config('invalid_api_version.yaml')
         assert config is not None
Exemplo n.º 2
0
 def test_single_task(self):
     config = get_config('simple_example.yaml')
     assert config is not None
Exemplo n.º 3
0
 def test_nested_dups(self):
     with self.assertRaises(ConfigurationError) as e:
         config = get_config('nested_duplicates.yaml')
         assert config is not None
         print(e)
Exemplo n.º 4
0
 def test_for_schema(self):
     config = get_config('for.yaml')
     assert config is not None
Exemplo n.º 5
0
 def test_switch_schema(self):
     config = get_config('switch.yaml')
     assert config is not None
Exemplo n.º 6
0
 def test_fork_task_schema(self):
     config = get_config('par.yaml')
     assert config is not None
Exemplo n.º 7
0
 def test_if_task_schema(self):
     config = get_config('if.yaml')
     assert config is not None