Fix luci access test

This commit is contained in:
Albrecht Lohofener
2024-09-24 12:32:15 +02:00
parent 9ecb2eb0ad
commit a042ce9d95
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -96,6 +96,7 @@ jobs:
- name: Run tests
continue-on-error: true
run: |
# Run pytest
multipass exec router-vm -- sh -c 'cd test/ && ~/.local/bin/pytest -v -s --html=report.html --self-contained-html'
+1 -1
View File
@@ -336,7 +336,7 @@ def test_nginx_luci_forwarding_access(docker_services):
# Double check if caddy is still running
assert get_service_status('nginx_luci_forward') == 'RUNNING'
response = requests.get("https://localhost:9000")
response = requests.get("https://localhost:9000", verify=False)
assert ('LuCI - Lua Configuration Interface' in response.content.decode()) == True