Skip to content

Commit bd00a24

Browse files
Fixed some small changes for code quality
1 parent ea7fae7 commit bd00a24

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from fastapi import FastAPI
2-
from fastapi import APIRouter as auth_router
32

43
from src.routers.general import router as general_router
54
from src.routers.auth import router as auth_router
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from src.routers import auth, general
2-
3-
41
def test_read_protected_route_success(client, valid_token):
52
"""
63
Checks if /protected answers 200 of token is valid.
@@ -25,9 +22,6 @@ def test_read_protected_route_no_token(client):
2522
Validates that user without valid token is thrown out.
2623
"""
2724

28-
# Arrange
29-
auth_header = {"Authorization"}
30-
3125
# Act
3226
response = client.get("/protected")
3327

0 commit comments

Comments
 (0)