Skip to content

Commit

Permalink
fix: remove test lines
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Leclerc <[email protected]>
  • Loading branch information
sylvlecl committed Sep 11, 2024
1 parent 6b05442 commit 7ef29e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- "master"
- "hotfix/**"
- "feature/1724-upgrade-python-dependencies"

jobs:
binary:
Expand Down
2 changes: 0 additions & 2 deletions tests/test_front.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,13 @@ def redirect_app(app_with_home: FastAPI) -> FastAPI:


def test_redirect_middleware_does_not_modify_home(redirect_app: FastAPI) -> None:
# A simple app which has only a home endpoint and one backend endpoint
client = TestClient(redirect_app)
response = client.get("/")
assert response.status_code == 200
assert response.json() == "home"


def test_redirect_middleware_redirects_unknown_routes_to_home(redirect_app: FastAPI) -> None:
# A simple app which has only a home endpoint and one backend endpoint
client = TestClient(redirect_app)
response = client.get("/a-front-route")
assert response.status_code == 200
Expand Down

0 comments on commit 7ef29e5

Please sign in to comment.