def test_czech(self): path = './test_files/czech/' init = InitTerminateModule('test_czech.txt', path, self.encoding, self.config_path + 'conf_cs_lat.json') init.run() self.open_files(path) self.remove_temp_files(path) self.test()
def test_russian(self): path = './test_files/russian/' init = InitTerminateModule('test_russian.txt', path, self.encoding, self.config_path + 'conf_ru_cyr.json') init.run() self.open_files(path) self.remove_temp_files(path) self.test()
def test_slovene(self): path = './test_files/slovene/' init = InitTerminateModule('test_slovene.txt', path, self.encoding, self.config_path + 'conf_sl_lat.json') init.run() self.open_files(path) self.remove_temp_files(path) self.test()
def test_polish(self): path = './test_files/polish/' init = InitTerminateModule('test_polish.txt', path, self.encoding, self.config_path + 'conf_pl_lat.json') init.run() self.open_files(path) self.remove_temp_files(path) self.differences(path) self.test()
def test_macedonian(self): path = './test_files/macedonian/' init = InitTerminateModule('test_macedonian.txt', path, self.encoding, self.config_path + 'conf_mk_cyr.json') init.run() self.open_files(path) self.remove_temp_files(path) self.differences(path) self.test()
def test_croatian(self): path = 'C:/wamp64/www/tis/py_scripts/test_files/croatian/' init = InitTerminateModule('test_croatian.txt', path, self.encoding, self.config_path + 'conf_hr_lat.json') init.run() self.open_files(path) self.remove_temp_files(path) self.differences(path) self.test()
def test_lower_sorbian(self): path = './test_files/lower_sorbian/' init = InitTerminateModule('test_lower_sorbian.txt', path, self.encoding, self.config_path + 'conf_dsb_lat.json') init.run() self.open_files(path) self.remove_temp_files(path) self.differences(path) self.test()