'Test change detection of removed indexes.'

def test_remove_indexes(self):

    changes = self.get_changes([self.author_empty, self.book_indexes], [self.author_empty, self.book])
    self.assertNumberMigrations(changes, 'otherapp', 1)
    self.assertOperationTypes(changes, 'otherapp', 0, ['RemoveIndex'])
    self.assertOperationAttributes(changes, 'otherapp', 0, 0, model_name='book', name='book_title_author_idx')
