oracc / nammu

Oracc GUI
GNU General Public License v3.0
12 stars 10 forks source link

Lemmatised test example out of date #415

Open ageorgou opened 4 years ago

ageorgou commented 4 years ago

The example for lemmatised text with Arabic translation used in test_successful_lem_existing_lem seems to be out of date, causing that test to fail:

>       assert text == nammu.atfAreaController.edit_area.getText()
E       assert '&X001001 = J...ر تبت، يوم ٢\n' == '&X001001 = JC...ر تبت، يوم ٢\n'
E         Skipping 203 identical leading characters in diff, use -v to show
E         - ht]AV; ūm[day]N; n
E         + ht]AV; ūm[on the day]'PRP; n

We should check how the text is lemmatised (starting from the unlemmatised version) and update the file contents accordingly.