SPlit up
This commit is contained in:
parent
cf39ad754e
commit
f59d01227b
91 changed files with 10370 additions and 7562 deletions
|
|
@ -25,6 +25,8 @@ def _write_csv(path: Path, fieldnames: list[str], rows: list[dict[str, str]]) ->
|
|||
def _row(**overrides: str) -> dict[str, str]:
|
||||
row = {
|
||||
"address": "1 Example Street",
|
||||
"address1": "1 Example Street",
|
||||
"address2": "Hale",
|
||||
"postcode": " aa1 1aa ",
|
||||
"uprn": "100012345678",
|
||||
"current_energy_rating": "c",
|
||||
|
|
@ -54,6 +56,8 @@ def test_scan_epc_certificates_supports_legacy_uppercase_csv(tmp_path: Path):
|
|||
assert df.to_dicts() == [
|
||||
{
|
||||
"epc_address": "1 Example Street",
|
||||
"epc_address_a1": "1 Example Street",
|
||||
"epc_address_a12": "1 Example Street Hale",
|
||||
"epc_postcode": "AA1 1AA",
|
||||
"uprn": "100012345678",
|
||||
"current_energy_rating": "C",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue