Skip to content

Commit 6ea68f6

Browse files
committed
fixed tests
Signed-off-by: Satya <[email protected]>
1 parent 94b6ceb commit 6ea68f6

File tree

4 files changed

+79
-190
lines changed

4 files changed

+79
-190
lines changed

mcpgateway/admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ async def wrapper(*args, request: Optional[Request] = None, **kwargs):
316316
return await func_to_wrap(*args, request=request, **kwargs)
317317

318318
return wrapper
319+
319320
return decorator
320321

321322

@@ -6108,8 +6109,7 @@ async def admin_add_gateway(request: Request, db: Session = Depends(get_db), use
61086109
LOGGER.info("✅ Auto-detected OAuth configuration, setting auth_type='oauth'")
61096110
elif oauth_config and auth_type_from_form:
61106111
LOGGER.info(f"✅ OAuth config present with explicit auth_type='{auth_type_from_form}'")
6111-
6112-
6112+
61136113
gateway = GatewayCreate(
61146114
name=str(form["name"]),
61156115
url=str(form["url"]),

mcpgateway/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4367,7 +4367,7 @@ def validate_team_id(cls, v: Optional[str]) -> Optional[str]:
43674367
if v is not None:
43684368
return SecurityValidator.validate_uuid(v, "team_id")
43694369
return v
4370-
4370+
43714371
@field_validator("auth_value", mode="before")
43724372
@classmethod
43734373
def create_auth_value(cls, v, info):

0 commit comments

Comments
 (0)