Fix test_migrate_cli for py3

Use __lt__ insted of __cmp__ for py3 compatability.

Change-Id: I85d8eeb2cbb754b72b04c817f49d3a62f1473994
Merge "Fix test_migrate_cli for py3"