1
0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-11-08 07:49:22 +01:00

Merge pull request #2444 from pini-gh/pini-fix-test-test_build.py

fix 'requirements' path in test/test_build.py
This commit is contained in:
Nicolas Duchon 2024-05-08 19:31:01 +02:00 committed by GitHub
commit fc02a5ae38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,13 +4,14 @@ Test that nginx-proxy-tester can build successfully
import pytest
import docker
import re
import os
client = docker.from_env()
@pytest.fixture(scope = "session")
def docker_build(request):
# Define Dockerfile path
dockerfile_path = "requirements/"
dockerfile_path = os.path.join(os.path.dirname(__file__), "requirements/")
dockerfile_name = "Dockerfile-nginx-proxy-tester"
# Build the Docker image