瀏覽代碼

test: fix version command

Niek 2 月之前
父節點
當前提交
1786c0530d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      test/test_build/test_build.py

+ 2 - 2
test/test_build/test_build.py

@@ -45,9 +45,9 @@ def test_build_nginx_proxy_tester(docker_build):
     assert docker_build == "nginx-proxy-tester-ci"
 
 def test_run_nginx_proxy_tester(docker_build):
-    # Run the container with 'pytest -v' command to output version info
+    # Run the container with 'pytest --version' command to output version info
     container = client.containers.run("nginx-proxy-tester-ci",
-        command = "pytest -V",
+        command = "pytest --version",
         detach = True,
     )