Use self.assertEqual. See http://docs.python.org/2/library/unittest.html#deprecated-aliases