瀏覽代碼

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):