Docker Compose for pytest for Pipenv.
1.
git clone
this repository.
2.
git clone
Pipenv into working tree.
Note that directory name of Pipenv should be "pipenv".
3. Open Visual Studio Code, and click [Reopen in Container] button.
4. Run pipenv command:
pipenv install --dev --system --deploy
It could be fixed when select other interpreter and select correct interpreter again.
How to select interpreter is:
Ctrl + Shift + P
โ Python: Select Interpreter
Since it takes about 1 hour to run all of tests, we'd better to limit target of test like following command:
pipenv run pytest tests/unit/test_utils.py::TestUtils::test_python_version_from_bad_path