Pytest -m projection

@kanikasingla I am getting this error while running pytest -m projection

The test fails because in both cases you return an array with a single element while the test cases expect 2 for Kosovo and and 1237 for the other.

So it is one of the following

  1. You are not connected to the correct database
  2. Your argument to find is wrong
  3. For some reason you limit your output to only one document
1 Like

Can you please tell me what queary should I enter?
because i am confuse after reading your answer.

Giving you the answer will prevent you to learn. If there is something you do not understand you should go back and redo the lesson.

1 Like

Maybe focus on this point for once and then try running the test again. That would help you debug more.

Kanika