def test_db_changed(self):
        self.changeset.update_vcs_entity = Mock()
        with patch.object(Entity, 'has_changed', return_value=True):
            self.call_update_translations([('key', self.main_db_entity, self.main_vcs_entity)])

        self.changeset.update_vcs_entity.assert_called_with(
            self.translated_locale, self.main_db_entity, self.main_vcs_entity
        )
If the DB entity has changed since the last sync, update the
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/tests/test_core.py/UpdateTranslationsTests.test_db_changed