I think you should add test case for password without any digit because as for now only built-in assert test it so the code that does not check digit presence can pass the tests.
I think it is not what you had in mind isn't it?;)
Created at: 2014/01/16 10:15; Updated at: 2014/01/16 20:39