1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-02 06:45:45 +00:00

tests: Fix path to ca-root.crt

`os.getcwd()` is not guaranteed to always return the `test/`
directory.
This commit is contained in:
Richard Hansen
2023-02-05 02:44:12 -05:00
parent 6f2a549ef1
commit 01745a836f
2 changed files with 8 additions and 3 deletions

View File

@ -425,6 +425,12 @@ def connect_to_all_networks():
#
###############################################################################
@pytest.fixture
def ca_root_certificate():
return CA_ROOT_CERTIFICATE
@pytest.fixture(scope="module")
def docker_compose(request):
"""