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'))
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'))
def test_should_extract_contractor_city_from_text(self): reader = DataReader() name = reader.extractContractorCity(getSampleText()) assert_that(name, equal_to('Kielce'))
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'))