"""Fixture data for testing without hitting live APIs."""
# noqa: E501
SAMPLE_FINN_SEARCH_HTML = """
Romslig 5-roms i 5.etasje med heisadkomst | 2 hybler | 4 balkonger | Ingen dokavgift!
Hegdehaugsveien 3, 0352 Oslo
Homansbyen
Prisantydning10 900 000 kr
Totalpris10 986 901 kr
Fellesgjeld76 911 kr
Felleskost/mnd.12 011 kr
BoligtypeLeilighet
EieformAndel
Soverom2
Rom5
Byggeår1938
Internt bruksareal124 m² (BRA-i)
FasiliteterBalkong/TerrasseParkettHeis
Om boligen
Her bor du med kort vei til daglige behov og offentlig transport.
"""
SAMPLE_EIENDOM_UNIT_JSON = {
"units": [
{
"unitCode": "c-gxw-xmyum-s2a",
"address": "Fernerveien 42, 0554 Oslo",
"municipality": "Oslo",
"lat": 59.9287,
"lon": 10.7803,
"propertyType": "APARTMENT",
"floor": 4,
"rooms": 4,
"constructionYear": 2005,
"usableArea": 77,
"estimatedSellingPrice": 7650000,
"estimatedSellingPriceLower": 6900000,
"estimatedSellingPriceUpper": 8400000,
"listingPrice": 7200000,
"listingSquareMeterPrice": 93500,
"commonCosts": 3500,
"daysOnMarket": 12,
"saleStatus": "FOR_SALE",
"marketPlacementScore": "ABOVE_AVERAGE",
"similarUnitCount": 12,
"averageSquareMeterPrice": 98000,
}
]
}
SAMPLE_EIENDOM_SIMILAR_UNITS_JSON = {
"units": [
{
"unitCode": "c-recent-1",
"address": "Birketveien 10, 0554 Oslo",
"lat": 59.9290,
"lon": 10.7810,
"propertyType": "APARTMENT",
"floor": 3,
"rooms": 3,
"constructionYear": 2004,
"usableArea": 75,
"listingPrice": 7100000,
"sellingPrice": 7050000,
"sharedDebt": 0,
"commonCosts": 3400,
"squareMeterPrice": 94000,
"daysOnMarket": 18,
"saleStatus": "SOLD",
"finalizedAt": "2024-05-01",
},
{
"unitCode": "c-recent-2",
"address": "Sommers gate 5, 0554 Oslo",
"lat": 59.9280,
"lon": 10.7820,
"propertyType": "APARTMENT",
"floor": 2,
"rooms": 4,
"constructionYear": 2006,
"usableArea": 80,
"listingPrice": 7400000,
"sellingPrice": 7350000,
"sharedDebt": 0,
"commonCosts": 3600,
"squareMeterPrice": 91875,
"daysOnMarket": 22,
"saleStatus": "SOLD",
"finalizedAt": "2024-04-28",
},
]
}