結果 : pytest test if function is called