소스 검색

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