Files
gitea-mcp-remote/pytest.ini
lmiranda cd8718c114 Move tests to repository root and update pytest configuration
- Move tests from src/gitea_mcp_remote/tests/ to tests/ (top-level)
- Update pytest.ini to point to new test location
- All imports already use absolute paths (gitea_mcp_remote.*)
- Tests run successfully from new location (28/30 pass, 2 pre-existing failures)

This improves project structure by following standard Python conventions
where tests live at the repository root level rather than inside the
source package.

Closes #21

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 18:08:54 -05:00

19 lines
396 B
INI

[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
# Coverage options
addopts =
--verbose
--strict-markers
--tb=short
# Markers for test categorization
markers =
unit: Unit tests (fast, no external dependencies)
integration: Integration tests (may require external services)
slow: Slow-running tests