chore: align local checks
This commit is contained in:
@@ -592,7 +592,7 @@ class WebAppAssetTests(unittest.IsolatedAsyncioTestCase):
|
||||
|
||||
def test_frontend_nginx_proxies_shell_routes_for_dynamic_head(self):
|
||||
nginx_conf = Path("deploy/docker/frontend/nginx.conf").read_text(encoding="utf-8")
|
||||
marker = "location ~ ^/(?:$|login/password$|home$|install$|trial$|s/[a-f0-9]{32}$"
|
||||
marker = 'location ~ "^/(?:$|login/password$|home$|install$|trial$|s/[a-f0-9]{32}$'
|
||||
|
||||
self.assertIn(marker, nginx_conf)
|
||||
start = nginx_conf.index(marker)
|
||||
|
||||
@@ -6,7 +6,6 @@ from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user