1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-08-24 08:21:55 +00:00

tests: enable local testing on macOS / Darwin

This commit is contained in:
Nicolas Duchon
2024-12-30 13:41:47 +01:00
parent daa9449176
commit 40309e2441
12 changed files with 55 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
import platform
import re
import subprocess
@@ -7,6 +8,10 @@ import pytest
docker_client = docker.from_env()
pytestmark = pytest.mark.skipif(
platform.system() == "Darwin",
reason="Those tests rely entirely on being able to directly contact container's IP"
)
###############################################################################
#