gptme
gptme copied to clipboard
tests: attempt at fixing tests
[!IMPORTANT] Fix test reliability and timeout issues in
tests/test_mcp.py, adjust timeouts ingptme/mcp/client.py, and updatebuild.ymlto installuv.
- Tests:
- Mark
test_sqlite_connection,test_sqlite_operations,test_memory_connection, andtest_memory_operationsintests/test_mcp.pywith@pytest.mark.xfaildue to CI timeouts.- Adjust
test_config_pathto preferuvxoverpipxif available.- Change repository URL in
test_config_pathto use HTTPS.- Client:
- Increase timeout for
initialize()to 10 seconds andlist_tools()to 30 seconds in_setup_connection()ingptme/mcp/client.py.- Workflow:
- Update
build.ymlto installuvwithpoetry.This description was created by
for 518c01819396b0c07487d3ceff287bfcd248bec6. It will automatically update as commits are pushed.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:loudspeaker: Thoughts on this report? Let us know!
Not sure why this was needed anymore. The existing tests seem to work fine?