Exemplo n.º 1
0
def test_collect_information_price():
    scrape = Scraper()
    data = scrape.collect_information(30)
    data1 = data['price'][0]
    assert data1 == '86 000 € (1 323 €/m²)'
Exemplo n.º 2
0
def test_collect_information_floor():
    scrape = Scraper()
    data = scrape.collect_information(30)
    data1 = data['floor'][0]
    assert data1 == '4/9'
Exemplo n.º 3
0
def test_collect_information_year():
    scrape = Scraper()
    data = scrape.collect_information(30)
    data1 = data['year'][0]
    assert data1 == '1980'
Exemplo n.º 4
0
def test_collect_information_room():
    scrape = Scraper()
    data = scrape.collect_information(30)
    data1 = data['room'][0]
    assert data1 == '3'
Exemplo n.º 5
0
def test_collect_information_area():
    scrape = Scraper()
    data = scrape.collect_information(30)
    data1 = data['area'][0]
    assert data1 == '65.00'
Exemplo n.º 6
0
def test_collect_information_address():
    scrape = Scraper()
    data = scrape.collect_information(30)
    data1 = data['address'][0]
    assert data1 == '3 kambarių butas Vilniuje, Šeškinėje, Dūkštų g. +15'