10 lines
257 B
Python
10 lines
257 B
Python
from pathlib import Path
|
|
|
|
ENTRYPOINT = Path(__file__).resolve().parent.parent / "entrypoint.sh"
|
|
|
|
|
|
def test_entrypoint_enables_proxy_headers():
|
|
text = ENTRYPOINT.read_text()
|
|
assert "--proxy-headers" in text
|
|
assert "--forwarded-allow-ips" in text
|