Oh man ,maybe you misunderstant autotest :(
your codes will always pass, because they just return True or False.
Actually when test failed, you'd better raise an exception, you can see other test files