Skip to content

Commit

Permalink
improved unit tests / add a run_test function to test processors
Browse files Browse the repository at this point in the history
  • Loading branch information
aconchillo committed Dec 24, 2024
1 parent ba6e9ed commit dfdd536
Show file tree
Hide file tree
Showing 18 changed files with 470 additions and 277 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
- name: Test with pytest
run: |
source .venv/bin/activate
pytest --ignore-glob="*to_be_updated*" --ignore-glob=*pipeline_source* src tests
pytest
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ whisper = [ "faster-whisper~=1.1.0" ]
where = ["src"]

[tool.pytest.ini_options]
addopts = "--verbose --disable-warnings"
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_default_fixture_loop_scope = "function"

[tool.setuptools_scm]
local_scheme = "no-local-version"
Expand Down
276 changes: 0 additions & 276 deletions src/pipecat/processors/aggregators/test_LLM_user_context_aggregator.py

This file was deleted.

Empty file added tests/__init__.py
Empty file.
Empty file added tests/processors/__init__.py
Empty file.
Empty file.
Loading

0 comments on commit dfdd536

Please sign in to comment.