Skip to content

Comments

[Cursor] Fix test failures in MCP server and git automation tests#10

Merged
blopit merged 1 commit intomainfrom
fix-test-failures-mcp-server-and-git-automation
Feb 26, 2025
Merged

[Cursor] Fix test failures in MCP server and git automation tests#10
blopit merged 1 commit intomainfrom
fix-test-failures-mcp-server-and-git-automation

Conversation

@blopit
Copy link
Owner

@blopit blopit commented Feb 26, 2025

[Cursor] Fix test failures in MCP server and git automation tests

Changes

  • Add missing subprocess import in test_git_automation.py
  • Fix test_create_pr to properly mock tempfile
  • Fix test_server_performance to ensure unique timestamps for metrics

Testing

These changes fix the following test failures:

  • test_server_performance in tests/scripts/weekly/test_mcp_server.py
  • test_commit_changes in tests/test_git_automation.py
  • test_create_pr in tests/test_git_automation.py
  • test_run_command_failure in tests/test_git_automation.py

- Add missing subprocess import in test_git_automation.py
- Fix test_create_pr to properly mock tempfile
- Fix test_server_performance to ensure unique timestamps for metrics
@blopit blopit merged commit 87f7db3 into main Feb 26, 2025
1 check passed
@blopit blopit deleted the fix-test-failures-mcp-server-and-git-automation branch February 26, 2025 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant