mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-05 01:31:49 -07:00
Fix for docker test - exits earlier now.
This commit is contained in:
@@ -749,7 +749,7 @@ def test_custom_port_with_unwritable_nginx_config_compose() -> None:
|
|||||||
# Container should exit due to inability to write nginx config and custom port.
|
# Container should exit due to inability to write nginx config and custom port.
|
||||||
assert result.returncode == 1
|
assert result.returncode == 1
|
||||||
assert "unable to write to /tmp/nginx/active-config/netalertx.conf" in lowered_output
|
assert "unable to write to /tmp/nginx/active-config/netalertx.conf" in lowered_output
|
||||||
assert "mv: can't create '/tmp/nginx/active-config/nginx.conf'" in lowered_output
|
|
||||||
|
|
||||||
|
|
||||||
def test_host_network_compose(tmp_path: pathlib.Path) -> None:
|
def test_host_network_compose(tmp_path: pathlib.Path) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user