Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur committed Jun 21, 2024
1 parent cb515f5 commit 377b7a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
poetry install --with dev,test && poetry run task test
env:
PYTHONPATH: .
PAPERMERGE__MAIN__API_PREFIX: ''

frontend_tests:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ model-bakery = "^1.5.0"
pytest-asyncio = "^0.21.0"

[tool.taskipy.tasks]
test = "pytest tests/ --disable-warnings"
test = "DJANGO_SETTINGS_MODULE=tests.settings PAPERMERGE__MAIN__API_PREFIX='' pytest tests/ --disable-warnings"
lint = "pycodestyle papermerge/ tests/"
# run following commands from docker/dev only
worker = "celery -A config worker -c 5"
Expand Down

0 comments on commit 377b7a6

Please sign in to comment.