コード例 #1
0
    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()
コード例 #2
0
    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()
コード例 #3
0
    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()
コード例 #4
0
    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()
コード例 #5
0
    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()
コード例 #6
0
    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()
コード例 #7
0
    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()