mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
Working tests
This commit is contained in:
parent
018f7a23f9
commit
4afac71fa0
1 changed files with 10 additions and 5 deletions
|
|
@ -16,7 +16,8 @@ mock_epc_response = {
|
||||||
"walls-description": "Walls Description",
|
"walls-description": "Walls Description",
|
||||||
"windows-description": "Windows Description",
|
"windows-description": "Windows Description",
|
||||||
"mainheat-description": "Main Heating Description",
|
"mainheat-description": "Main Heating Description",
|
||||||
"hotwater-description": "Hot Water Description"
|
"hotwater-description": "Hot Water Description",
|
||||||
|
"transaction-type": "rental"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"inspection-date": "2023-05-01",
|
"inspection-date": "2023-05-01",
|
||||||
|
|
@ -25,7 +26,8 @@ mock_epc_response = {
|
||||||
"walls-description": "Walls Description",
|
"walls-description": "Walls Description",
|
||||||
"windows-description": "Windows Description",
|
"windows-description": "Windows Description",
|
||||||
"mainheat-description": "Main Heating Description",
|
"mainheat-description": "Main Heating Description",
|
||||||
"hotwater-description": "Hot Water Description"
|
"hotwater-description": "Hot Water Description",
|
||||||
|
"transaction-type": "rental"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -35,19 +37,22 @@ mock_epc_response_dupe = {
|
||||||
{
|
{
|
||||||
'inspection-date': '2023-06-01', 'some-other-key': 'some-value', 'roof-description': 'Roof Description',
|
'inspection-date': '2023-06-01', 'some-other-key': 'some-value', 'roof-description': 'Roof Description',
|
||||||
'walls-description': 'Walls Description', 'windows-description': 'Windows Description',
|
'walls-description': 'Walls Description', 'windows-description': 'Windows Description',
|
||||||
'mainheat-description': 'Main Heating Description', 'hotwater-description': 'Hot Water Description'
|
'mainheat-description': 'Main Heating Description', 'hotwater-description': 'Hot Water Description',
|
||||||
|
"transaction-type": "rental"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'inspection-date': '2023-05-01', 'some-other-key': 'some-other-value',
|
'inspection-date': '2023-05-01', 'some-other-key': 'some-other-value',
|
||||||
'roof-description': 'Roof Description', 'walls-description': 'Walls Description',
|
'roof-description': 'Roof Description', 'walls-description': 'Walls Description',
|
||||||
'windows-description': 'Windows Description', 'mainheat-description': 'Main Heating Description',
|
'windows-description': 'Windows Description', 'mainheat-description': 'Main Heating Description',
|
||||||
'hotwater-description': 'Hot Water Description'
|
'hotwater-description': 'Hot Water Description',
|
||||||
|
"transaction-type": "rental"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'inspection-date': '2023-06-01', 'some-other-key': 'duplicate-date',
|
'inspection-date': '2023-06-01', 'some-other-key': 'duplicate-date',
|
||||||
'roof-description': 'Roof Description',
|
'roof-description': 'Roof Description',
|
||||||
'walls-description': 'Walls Description', 'windows-description': 'Windows Description',
|
'walls-description': 'Walls Description', 'windows-description': 'Windows Description',
|
||||||
'mainheat-description': 'Main Heating Description', 'hotwater-description': 'Hot Water Description'
|
'mainheat-description': 'Main Heating Description', 'hotwater-description': 'Hot Water Description',
|
||||||
|
"transaction-type": "rental"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue