From d17ceb0eeb0574299c37875d3ccc2b1c44c892da Mon Sep 17 00:00:00 2001 From: yu-heejin Date: Sun, 17 Aug 2025 21:17:40 +0900 Subject: [PATCH] Fix pytest error 1. pytest not found src/mysql_mcp_server 2. mcp and mysql-connector-python not installed --- pytest.ini | 1 + requirements-dev.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pytest.ini b/pytest.ini index 2b39884..b72c16e 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,4 +2,5 @@ asyncio_mode = auto asyncio_default_fixture_loop_scope = function testpaths = tests +pythonpath = src python_files = test_*.py \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt index b68c844..2919bbb 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,3 +4,5 @@ pytest-cov>=4.1.0 black>=23.0.0 isort>=5.12.0 mypy>=1.0.0 +mcp>=1.0.0 +mysql-connector-python>=9.1.0 \ No newline at end of file