Skip to content

Commit 8b7dd2b

Browse files
authored
Improve test coverage (#823)
* CLAUDE.md improvement Signed-off-by: Mihai Criveti <[email protected]> * Fix tests writing to actual db Signed-off-by: Mihai Criveti <[email protected]> * Improve coverage for oauth and import Signed-off-by: Mihai Criveti <[email protected]> * Improve coverage for oauth and import Signed-off-by: Mihai Criveti <[email protected]> * Improve coverage for well_known.py Signed-off-by: Mihai Criveti <[email protected]> * Improve coverage to 99% for oauth_manager.py Signed-off-by: Mihai Criveti <[email protected]> * 100% coverage for retry_manager.py Signed-off-by: Mihai Criveti <[email protected]> * Improve admin.py coverage Signed-off-by: Mihai Criveti <[email protected]> * Improve version.py coverage Signed-off-by: Mihai Criveti <[email protected]> * Improve translate.py Signed-off-by: Mihai Criveti <[email protected]> * Improve gateway_service.py Signed-off-by: Mihai Criveti <[email protected]> --------- Signed-off-by: Mihai Criveti <[email protected]>
1 parent 9e89902 commit 8b7dd2b

23 files changed

+8258
-343
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.claude
12
mcpgateway-export*
23
mutants
34
.mutmut-cache

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ repos:
9393
- id: forbid-ai-stock-phrases
9494
name: ❌ Forbid AI Stock Phrases
9595
description: Prevents common AI-generated phrases from being committed.
96-
entry: '(?i)(brevity|source=chatgpt.com|turn0search0|filecite|unchanged|as an ai language model|i am an ai developed by|this response was generated by|i don''t have real-time information|i don''t have access to real-time|i can''t browse the internet|i cannot browse the internet|my knowledge cutoff|my training data|i''m not able to access|i don''t have the ability to)'
96+
entry: '(?i)(brevity|source=chatgpt.com|turn0search0|filecite|as an ai language model|i am an ai developed by|this response was generated by|i don''t have real-time information|i don''t have access to real-time|i can''t browse the internet|i cannot browse the internet|my knowledge cutoff|my training data|i''m not able to access|i don''t have the ability to)'
9797
language: pygrep
9898
types: [text]
9999
exclude: ^\.pre-commit-config\.yaml$

0 commit comments

Comments
 (0)