Use assertEqual() rather than assertEquals()

assertEquals() is deprecated:

  http://docs.python.org/2/library/unittest.html#deprecated-aliases