Problem with pytest -m migration

someone will help me with this?

Please check your configuration file. If you are still facing the issue, please share the contents of .ini file.


content of my .ini file:

    # Ticket: Connection

Rename this file to .ini after filling in your MFLIX_DB_URI and your SECRET_KEY

Do not surround the URI with quotes

SECRET_KEY = super_secret_key_you_should_change
MFLIX_DB_URI = mongodb+srv://

SECRET_KEY = super_secret_testing_key
MFLIX_DB_URI = mongodb+srv://

the reason may be that this file has become hidden?

No, if that would be the case your test cases wouldn’t have run successfully before also.

Have you changed the cluster connection string in the migration file? If not, please do that as well.

Also, if nothing works, share the code changes you have done.


1 Like