Beispiel #1
0
 def setUp(self):
     super().setUp()
     self.client = DockerClient(base_url="tcp://127.0.0.1:8080", timeout=15)
     TestContainers.podman.restore_image_from_cache(self.client)
     TestContainers.topContainerId = common.run_top_container(self.client)
     self.assertIsNotNone(TestContainers.topContainerId)
Beispiel #2
0
    def setUp(self):
        super().setUp()
        self.client = APIClient(base_url="tcp://127.0.0.1:8080", timeout=15)

        TestSystem.podman.restore_image_from_cache(self.client)
        TestSystem.topContainerId = common.run_top_container(self.client)