map correct uprn when parsing asset conditions 🟥

This commit is contained in:
Daniel Roth 2026-01-19 16:32:16 +00:00
parent 4553e9937b
commit 330580c775

View file

@ -114,5 +114,8 @@ def test_lbwf_parser_passes_houses(lbwf_homes_xlsx_bytes):
result: Any = parser.parse(lbwf_homes_xlsx_bytes)
# assert
# TODO: Improve these asserts
assert len(result) == 2
assert isinstance(result[0], LbwfAssetCondition) # TODO: Improve these asserts
assert isinstance(result[0], LbwfAssetCondition)
assert result[0].uprn == 1
assert result[1].uprn == 2