Replace assertEquals with assertEqual - tests/scheduler

The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases

Also in Python 3, a deprecated warning is raised when using assertEquals
therefore we should use assertEqual instead.

This is part of blueprint assertequal

Change-Id: I5a6c6ac5d248ea1666f93196d21eb23e793b36d1
Merge "Replace assertEquals with assertEqual - tests/scheduler"