Skip to content

Conversation

@0xUnicorn
Copy link
Contributor

Fixes: #2018

- Add python file pattern and python path to pyproject.toml.

- Specify pytest as Django's testrunner for './manage.py test' support
- Rename and change type for existing 'FIXTURE_DIRS' from list to Path.

- Use new Path object for opening testdata in economy tests.
- Adding pytest-xdist for parallel test execution.

- Removing 'cd src' as src is defined as a pythonpath in pyproject.toml
- Due to an serialization bug in pytest combined with pytest-xdist, the 'subTest' has been removed with a comment describing why and when it can be re-added.

- The list of endpoints for testing was missing an endpoint compared to the view class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement pytest

1 participant