network tests: replace assertEquals with assertEqual

In Python 2.6, both assertEqual and assertEquals are
convenience aliases to failUnlessEqual.

In Python 3, failUnlessEqual is explicitly deprecated.

This is part of blueprint assertequal

Change-Id: I2184bcb14a5bfc413bc78a884c5a9b681c39ac99
Merge "network tests: replace assertEquals with assertEqual"