Browse Source

test: fix version command

Niek 2 tháng trước cách đây
mục cha
commit
1786c0530d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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,
     )