File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed
Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -48,34 +48,6 @@ class OnboardingResponse(BaseModel):
4848 api_key : str
4949
5050
51- import uuid
52-
53- from fastapi import APIRouter , Depends , HTTPException
54- from pydantic import BaseModel , EmailStr
55- from sqlmodel import Session
56-
57- from app .crud import (
58- create_organization ,
59- get_organization_by_name ,
60- create_project ,
61- create_user ,
62- create_api_key ,
63- get_api_key_by_user_org ,
64- )
65- from app .models import (
66- OrganizationCreate ,
67- ProjectCreate ,
68- UserCreate ,
69- APIKeyPublic ,
70- Organization ,
71- Project ,
72- User ,
73- )
74- from app .api .deps import (
75- SessionDep ,
76- get_current_active_superuser ,
77- )
78-
7951router = APIRouter (tags = ["onboarding" ])
8052
8153
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ def test_create_user_existing_email(
7575 response = client .post (
7676 f"{ settings .API_V1_STR } /onboard" , json = data , headers = superuser_token_headers
7777 )
78- print (response .json ())
7978 assert response .status_code == 400
8079 assert (
8180 response .json ()["error" ]
You can’t perform that action at this time.
0 commit comments