From 330580c7750641f1aac7b866791948b8db774537 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Mon, 19 Jan 2026 16:32:16 +0000 Subject: [PATCH] =?UTF-8?q?map=20correct=20uprn=20when=20parsing=20asset?= =?UTF-8?q?=20conditions=20=F0=9F=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/condition/tests/parsing/test_lbwf_parser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/condition/tests/parsing/test_lbwf_parser.py b/backend/condition/tests/parsing/test_lbwf_parser.py index 6a93979a..e962f229 100644 --- a/backend/condition/tests/parsing/test_lbwf_parser.py +++ b/backend/condition/tests/parsing/test_lbwf_parser.py @@ -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 \ No newline at end of file