mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
map correct uprn when parsing asset conditions 🟥
This commit is contained in:
parent
4553e9937b
commit
330580c775
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue