• Error in assert statement

 

I would like to give some feedback about ...

From: https://py.checkio.org/mission/acceptable-password-ii/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36

Am I being stupid here?

Copy and paste from mission info (bold is my emphasis):

In this mission you need to create a password verification function.

Those are the verification conditions:

the length should be bigger than 6; should contain at least one digit. Input: A string.

Output: A bool.

But then we have this:

assert is_acceptable_password('muchlonger') == True

I can't understand how this could be correct.

Infact, I changed the assert statement to equal False and not only did it run successfully, but it passed the Check as well. I think this assert statement is in error.