external.py: Converts all assertEqual calls to assertEquals

As the assertEqual call is being deprecated, all of its calls must
be converted to assertEquals.