Skip to content

Commit eb0c6ce

Browse files
authored
Merge pull request #198 from IBM/pytest-improvements
Pytest improvements - now requires redis for session registry testing
2 parents ba81a93 + 6a7df36 commit eb0c6ce

File tree

5 files changed

+1543
-229
lines changed

5 files changed

+1543
-229
lines changed

mcpgateway/translate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
import uvicorn
6262

6363
LOGGER = logging.getLogger("mcpgateway.translate")
64-
KEEP_ALIVE_INTERVAL = 30 # seconds ── matches the reference implementation
64+
KEEP_ALIVE_INTERVAL = 30 # seconds - matches the reference implementation
6565
__all__ = ["main"] # for console-script entry-point
6666

6767

@@ -402,5 +402,5 @@ def main(argv: Optional[Sequence[str]] | None = None) -> None: # entry-point
402402
sys.exit(1)
403403

404404

405-
if __name__ == "__main__": # python -m mcpgateway.translate
405+
if __name__ == "__main__": # python -m mcpgateway.translate ...
406406
main()

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ dev = [
146146
"types-tabulate>=0.9.0.20241207",
147147
"uv>=0.7.13",
148148
"yamllint>=1.37.1",
149+
"redis>=6.2.0",
149150
]
150151

151152
# Convenience meta-extras

0 commit comments

Comments
 (0)