You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a few issues just getting this repo working out of the box and I'm hoping you can help. Specifically trying to get pytest running and facing the following:
E ModuleNotFoundError: No module named 'asgi_lifespan'
So I added asgi_lifespan==2.1.0
Then
E ModuleNotFoundError: No module named 'pydantic_settings'
So I added pydantic-settings==2.2.1
Then
E ModuleNotFoundError: No module named 'pkg_resources'
So I pip install setuptools
The tests now execute but fail with:
ERROR tests/test_mock_authen.py::TestMockAuthentication::test_api_processed_jobs - pymongo.errors.ConfigurationError: No default database name defined or provided.
ERROR tests/test_mock_database.py::TestMockAuthentication::test_mock_databases - pymongo.errors.ConfigurationError: No default database name defined or provided.
ERROR tests/test_mock_database.py::TestMockAuthentication::test_mock_database - pymongo.errors.ConfigurationError: No default database name defined or provided.
This is running on python 3.10 on Linux - is there something fundamental I'm doing wrong?
The text was updated successfully, but these errors were encountered:
I'm having a few issues just getting this repo working out of the box and I'm hoping you can help. Specifically trying to get
pytest
running and facing the following:So I added
asgi_lifespan==2.1.0
Then
So I added
pydantic-settings==2.2.1
Then
So I
pip install setuptools
The tests now execute but fail with:
This is running on python 3.10 on Linux - is there something fundamental I'm doing wrong?
The text was updated successfully, but these errors were encountered: