I have a class
class ActivationResult(object):
    def __init__(self, successful : bool):
        self._successful = successful
    def getSuccessful(self) -> bool:
        return self._successful
And a test
def testSuccessfulFromCreate(self):
    target = ActivationResult(True)
    self.assertEquals(target._successful, True)
    self.assertEquals(target.getSuccessful, True)
The first assert is good, but the second one fails with AssertionError: <bound method ActivationResult.getSuccess[84 chars]EB8>> != True
The same thing happens, when I try to print it. Why?
 
    