File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717jobs :
1818 docker :
1919 runs-on : ubuntu-latest
20- timeout-minutes : 30
20+ timeout-minutes : 60
2121 permissions :
2222 contents : read
2323 packages : write
Original file line number Diff line number Diff line change @@ -36,15 +36,13 @@ RUN apk add --no-cache \
3636 libffi-dev \
3737 openssl-dev \
3838 git \
39- rust \
40- cargo \
4139 && python -m venv /opt/venv
4240
4341# Upgrade pip/wheel/setuptools and install Python packages
4442RUN python -m pip install --upgrade pip setuptools wheel && \
45- pip install --no-cache-dir -r /tmp/requirements.txt && \
43+ pip install --prefer-binary -- no-cache-dir -r /tmp/requirements.txt && \
4644 chmod -R u-rwx,g-rwx /opt
47-
45+
4846# second stage is the main runtime stage with just the minimum required to run the application
4947# The runner is used for both devcontainer, and as a base for the hardened stage.
5048FROM alpine:3.22 AS runner
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def test_graphql_debug_get(client):
3838
3939
4040def test_graphql_post_unauthorized (client ):
41- """POST /graphql without token should return 401 """
41+ """POST /graphql without token should return 403 """
4242 query = {"query" : "{ devices { devName devMac } }" }
4343 resp = client .post ("/graphql" , json = query )
4444 assert resp .status_code == 403
You can’t perform that action at this time.
0 commit comments