use called is True instead of called == 1

This commit is contained in:
mutantmonkey
2012-06-02 03:07:22 -07:00
parent ed2a892187
commit 28527c6fee
3 changed files with 13 additions and 12 deletions

View File

@@ -14,4 +14,4 @@ class TestCommit(unittest.TestCase):
def test_commit(self):
commit(self.phenny, None)
assert self.phenny.reply.called == 1
assert self.phenny.reply.called is True