Revert "tests: reorganize unit tests into subdirectories mirroring source modules" (#10437)

This commit is contained in:
Engel Nyst 2025-08-17 02:33:17 +02:00 committed by GitHub
parent 95ef8965b7
commit 315d391414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
124 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ jobs:
- name: Install Python dependencies using Poetry
run: poetry install --with dev,test,runtime
- name: Run Windows unit tests
run: poetry run pytest -svv tests/unit/runtime/utils/test_windows_bash.py
run: poetry run pytest -svv tests/unit/test_windows_bash.py
env:
PYTHONPATH: ".;$env:PYTHONPATH"
DEBUG: "1"

View File

@ -11,19 +11,19 @@ poetry run pytest ./tests/unit
Run specific test file:
```bash
poetry run pytest ./tests/unit/llm/test_llm_fncall_converter.py
poetry run pytest ./tests/unit/test_llm_fncall_converter.py
```
Run specific unit test
```bash
poetry run pytest ./tests/unit/llm/test_llm_fncall_converter.py::test_convert_tool_call_to_string
poetry run pytest ./tests/unit/test_llm_fncall_converter.py::test_convert_tool_call_to_string
```
For a more verbose output, to above calls the `-v` flag can be used (even more verbose: `-vv` and `-vvv`):
```bash
poetry run pytest -v ./tests/unit/llm/test_llm_fncall_converter.py
poetry run pytest -v ./tests/unit/test_llm_fncall_converter.py
```
More details see [pytest doc](https://docs.pytest.org/en/latest/contents.html)

Some files were not shown because too many files have changed in this diff Show More