Python is failed with " No module name 'mflix' "

When I run python is failed with an error saying "No module name ‘mflix’ "

mfliy-python folder structure is available. Please help me do I need to set any path?

Thanks & Regards,
Indira K


run the pytest commands form the mflix-python folder, not from within the tests folder.

mflix-python\test> pytest -m ... -> Fail
mflix-python> pytest -m ... -> Success


1 Like

THanks Norberto!

It worked for me.

Best Regards,
Indira K