Skip to content

Commit 2416348

Browse files
authored
fix: failing tests in CI (supertokens#560)
* fix: updates line num for logger test * fix: updates deprecated import from starlette
1 parent 5b8c416 commit 2416348

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/auth-react/fastapi-server/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
from fastapi.requests import Request
2323
from fastapi.responses import JSONResponse, PlainTextResponse
2424
from starlette.datastructures import Headers
25-
from starlette.exceptions import ExceptionMiddleware
2625
from starlette.middleware.cors import CORSMiddleware
26+
from starlette.middleware.exceptions import ExceptionMiddleware
2727
from starlette.responses import Response
2828
from starlette.types import ASGIApp
2929
from supertokens_python import (

tests/test_logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_1_json_msg_format(self, datetime_mock: MagicMock):
5555
"t": "2000-01-01T00:00:00+00Z",
5656
"sdkVer": VERSION,
5757
"message": "API replied with status 200",
58-
"file": "../tests/test_logger.py:48",
58+
"file": "../tests/test_logger.py:49",
5959
}
6060

6161
@staticmethod

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy