Closed louismartin closed 1 year ago
I think the readme is also not up to date: https://github.com/shaypal5/cachier/blame/master/README.rst#L294
To run only pickle core related tests, use:
pytest -m mongo
Seems that it work when ignoring the conftest but it's not ideal:
pytest tests/test_pickle_core.py --noconftest
Ok. So a few things fixed so contributers like you can work:
Cheers, man! I'll take a look at the PR itself soon.
Also, note that MongoDB tests should run successfully by Github Actions for your PRs, so make sure everything else works by testing pickle and memory core tests locally, and then will make sure MongoDB functionality was not broken when you open PRs.
Thank you for contributing! <3
I'm trying to run the tests for the pickle core for #90, but they fail with
I think this is due to the file
tests/conftest.py
that is run anyway at import time and teardown and that tries to import mongo logic.