Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Oct 9, 2024
1 parent 0128820 commit 90d8d52
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,19 @@
},
"cwd": "${workspaceFolder}/tests/auth-react/django3x",
"jinja": true
}
},
{
"name": "Python: backend-sdk-testing repo",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/tests/test-server/app.py",
"cwd": "${workspaceFolder}/tests/test-server",
"env": {
"SUPERTOKENS_ENV": "testing",
"API_PORT": "3030",
"ST_CONNECTION_URI": "http://localhost:8081"
},
"console": "integratedTerminal"
},
]
}
6 changes: 6 additions & 0 deletions tests/test-server/app.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from typing import Any, Callable, Dict, List, Optional, TypeVar, Tuple
from flask import Flask, request, jsonify
from supertokens_python.recipe.accountlinking.recipe import AccountLinkingRecipe
from supertokens_python.recipe.multifactorauth.recipe import MultiFactorAuthRecipe
from supertokens_python.recipe.totp.recipe import TOTPRecipe
from utils import init_test_claims
from supertokens_python.process_state import ProcessState
from supertokens_python.recipe.dashboard.recipe import DashboardRecipe
Expand Down Expand Up @@ -136,6 +139,9 @@ def st_reset():
DashboardRecipe.reset()
PasswordlessRecipe.reset()
MultitenancyRecipe.reset()
AccountLinkingRecipe.reset()
TOTPRecipe.reset()
MultiFactorAuthRecipe.reset()


def init_st(config): # type: ignore
Expand Down

0 comments on commit 90d8d52

Please sign in to comment.