結果 : how to test a class in python pytest