test: separate containers (contd)

This commit is contained in:
Nicolas Duchon 2024-12-22 23:35:12 +01:00
parent 77978eab96
commit ce9e534ad0

View file

@ -313,6 +313,7 @@ def remove_all_containers():
continue # pytest is running within a Docker container, so we do not want to remove that particular container continue # pytest is running within a Docker container, so we do not want to remove that particular container
logging.info(f"removing container {container.name}") logging.info(f"removing container {container.name}")
container.remove(v=True, force=True) container.remove(v=True, force=True)
docker_client.volumes.prune()
def get_nginx_conf_from_container(container): def get_nginx_conf_from_container(container):