jaothan/podman_llamacpp_python
0
1import pytest_container2from .conftest import MS3import tenacity4import os5 6CONTAINER_IMAGES = [MS]7 8def test_etc_os_release_present(auto_container: pytest_container.container.ContainerData):9 assert auto_container.connection.file("/etc/os-release").exists10 11@tenacity.retry(stop=tenacity.stop_after_attempt(5), wait=tenacity.wait_exponential())12def test_alive(auto_container: pytest_container.container.ContainerData, host):13 host.run_expect([0],f"curl http://localhost:{auto_container.forwarded_ports[0].host_port}",).stdout.strip()14 