mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
removed unnecessary code from floor recs
This commit is contained in:
parent
3eead1928f
commit
dc6369fa6d
1 changed files with 0 additions and 10 deletions
|
|
@ -21,16 +21,6 @@ class TestFloorRecommendations:
|
||||||
) as f:
|
) as f:
|
||||||
return pickle.load(f)
|
return pickle.load(f)
|
||||||
|
|
||||||
@pytest.fixture
|
|
||||||
def mock_floor_rec_instance(self):
|
|
||||||
# Creating a mock instance of WallRecommendations with the necessary attributes
|
|
||||||
property_mock = Mock()
|
|
||||||
property_mock.full_sap_epc = {"lodgement-date": "2000-01-01"}
|
|
||||||
property_mock.data = {"county": "York"}
|
|
||||||
|
|
||||||
mock_wall_rec_instance = FloorRecommendations(property_mock, materials)
|
|
||||||
return mock_wall_rec_instance
|
|
||||||
|
|
||||||
def test_init(self, input_properties):
|
def test_init(self, input_properties):
|
||||||
input_properties[0].insulation_floor_area = 50
|
input_properties[0].insulation_floor_area = 50
|
||||||
input_properties[0].insulation_wall_area = 90
|
input_properties[0].insulation_wall_area = 90
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue