We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01fb3e3 commit d22a791Copy full SHA for d22a791
1 file changed
.github/workflows/deploy-admin-backend-aws.yml
@@ -74,6 +74,7 @@ jobs:
74
- name: Run admin tests
75
working-directory: backend-admin
76
run: |
77
+ export PYTHONPATH="$PWD"
78
pytest -v tests/test_admin_handler.py tests/test_admin_template_security.py
79
80
validate-sam:
@@ -117,7 +118,7 @@ jobs:
117
118
content = f.read()
119
tree = ast.parse(content)
120
- route_literals = re.findall(r'path\\s*==\\s*["\\']([^"\\']+)["\\']', content)
121
+ route_literals = re.findall(r"path\\s*==\\s*['\\\"]([^'\\\"]+)['\\\"]", content)
122
expected_routes = [
123
"/admin/overview",
124
"/admin/jobs",
0 commit comments