@@ -3,7 +3,6 @@ from finn_eiendom.eiendom_no import (
|
||||
decode_unit_vector,
|
||||
parse_eiendom_unit_json,
|
||||
parse_similar_units_json,
|
||||
resolve_unit_from_finn_url,
|
||||
)
|
||||
from tests.fixtures import (
|
||||
SAMPLE_EIENDOM_SIMILAR_UNITS_JSON,
|
||||
@@ -35,10 +34,3 @@ def test_parse_similar_units_json():
|
||||
assert len(comps) == 2
|
||||
assert comps[0].unit_code == "c-recent-1"
|
||||
assert comps[1].selling_price == 7350000
|
||||
|
||||
|
||||
def test_resolve_unit_from_finn_url():
|
||||
unit_code = resolve_unit_from_finn_url(
|
||||
"https://www.finn.no/realestate/homes/ad.html?finnkode=462400360"
|
||||
)
|
||||
assert unit_code == "462400360"
|
||||
|
||||
Reference in New Issue
Block a user