- Add proper cross-platform path handling with Path.resolve() - Fix file encoding issues by explicitly using UTF-8 - Correct mock paths to use google.generativeai instead of gemini_server.genai - Create setup.py for proper package installation in CI - Add conftest.py with Windows asyncio compatibility - Update CI workflow to install package with pip install -e . - Add import tests to verify package installation - Set PYTHONPATH in test environment - Simplify import mechanism in tests These changes ensure tests pass consistently across Windows, Ubuntu, and macOS platforms. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
174 B
INI
10 lines
174 B
INI
[pytest]
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
asyncio_mode = auto
|
|
addopts =
|
|
-v
|
|
--strict-markers
|
|
--tb=short |