소스 검색

test: separate containers (contd)

Nicolas Duchon 5 달 전
부모
커밋
ce9e534ad0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      test/conftest.py

+ 1 - 0
test/conftest.py

@@ -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
         logging.info(f"removing container {container.name}")
         container.remove(v=True, force=True)
+    docker_client.volumes.prune()
 
 
 def get_nginx_conf_from_container(container):