[1.7.x] Fixed typo in tests/migrations/test_operations.py

Backport of 0ad4672c0f from master