Ticket Projection Assignment - Getting error

I am getting error after running the following command - pytest -m projection
Please check the below error and also the attached snapshot.

TabError: inconsistent use of tabs and spaces in indentation
ERROR: could not load C:\Users\rajee\Desktop\MongoDB\mflix-python\tests\conftest.py

It seems like your conftest.py file is mixed with tab-sapces and regular-spaces

In order to fix this, you have to find the line where this error is caused (Line: 75 in conftest.py file in your case) and replace the indent in the beginning with tab-space

What I would suggest is to download the compressed-work-file again, which is provided by MongoDB-University and work on that fresh copy instead.

1 Like

Thanks Harsha. I will check and let you know, how it works out.