Beispiel #1
0
    def test_should_extract_contractor_full_address_from_text(self):
        reader = DataReader()

        name = reader.extractContractorAddress(getSampleText())

        assert_that(name, equal_to('ul. Zagnańska 232, 25-563 Kielce'))
Beispiel #2
0
    def test_should_extract_contractor_name_from_text(self):
        reader = DataReader()

        name = reader.extractContractorName(getSampleText())

        assert_that(name, equal_to('HOLSTERS HPE Polska Grzegorz Szymański'))
Beispiel #3
0
    def test_should_extract_contractor_city_from_text(self):
        reader = DataReader()

        name = reader.extractContractorCity(getSampleText())

        assert_that(name, equal_to('Kielce'))
Beispiel #4
0
    def test_should_extract_procurers_address_from_text(self):
        reader = DataReader()

        address = reader.extractProcurersAddress(getSampleText())

        assert_that(address, equal_to('ul. Warszawska, 05-300 Mińsk Mazowiecki'))