Skip to content

Commit e38665d

Browse files
committed
added more unit tests
1 parent 29c94d4 commit e38665d

14 files changed

+4447
-0
lines changed

.coverage

-16 KB
Binary file not shown.

mcp_testing/utils/server_adapters.py

+4
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ def get_transport_config(self) -> Dict[str, Any]:
212212
config["use_shell"] = True
213213

214214
return config
215+
216+
def should_skip_shutdown(self) -> bool:
217+
"""Skip shutdown for PostgreSQL server."""
218+
return True
215219

216220

217221
class MinimalServerAdapter(ServerAdapter):

pytest.ini

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[pytest]
2+
asyncio_mode = strict
3+
asyncio_default_fixture_loop_scope = function
4+
asyncio_default_test_loop_scope = function
5+
filterwarnings =
6+
ignore::DeprecationWarning:unittest.case:
7+
ignore::RuntimeWarning:unittest.case:

tests/unit/scripts/test_compliance_report.py

+1,454
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)