I followed all the instruction procedure and created the .ini file as this,
[PROD]
SECRET_KEY = super_secret_key_you_should_change
MFLIX_DB_URI = mongodb+srv://m220student:m220password@mflix.qf207.mongodb.net/test
MFLIX_NS = sample_mflix
[TEST]
SECRET_KEY = super_secret_testing_key
MFLIX_DB_URI = mongodb+srv://m220student:m220password@mflix.qf207.mongodb.net/test
MFLIX_NS = sample_mflix
but when i’m running pytest -m connection it gives me an error as follows,
How do I resolve the errors?
versions;
dnspython==2.0.0
pymongo==3.7.2