Exemple #1
0
 def test_from_existing(self, m_import):
     test_proj = (Path(__file__).parent / "./data/nested-fail").resolve()
     project_name, tests = get_tests(test_proj)
     s = Stacker.from_existing(uid=uuid.UUID(int=0),
                               tests=tests,
                               project_name=project_name)
     self.assertEqual([], s.stacks)
Exemple #2
0
 def test_from_existing(self, m_import):
     test_proj = (Path(__file__).parent / "./data/nested-fail").resolve()
     c = Config(
         project_config_path=test_proj / "ci" / "taskcat.yml",
         project_root=test_proj,
         create_clients=False,
     )
     s = Stacker.from_existing(uuid.UUID(int=0), c)
     self.assertEqual([], s.stacks)