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:
commit
fc02a5ae38
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user