mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Fixed lighting unit tests
This commit is contained in:
parent
39b083cee9
commit
f1c59157ed
1 changed files with 5 additions and 7 deletions
|
|
@ -5,13 +5,11 @@ from model_data.epc_attributes.LightingAttributes import LightingAttributes
|
|||
|
||||
# An example averages dataset to use in tests. It is a dictionary where the key is a lighting description and the
|
||||
# value is the expected proportion.
|
||||
averages = pd.DataFrame(
|
||||
[
|
||||
{"lighting-description": "good lighting efficiency", "low-energy-lighting": 0.75},
|
||||
{"lighting-description": "excellent lighting efficiency", "low-energy-lighting": 1.0},
|
||||
{"lighting-description": "below average lighting efficiency", "low-energy-lighting": 0.25}
|
||||
]
|
||||
)
|
||||
averages = [
|
||||
{"lighting-description": "good lighting efficiency", "low-energy-lighting": 0.75},
|
||||
{"lighting-description": "excellent lighting efficiency", "low-energy-lighting": 1.0},
|
||||
{"lighting-description": "below average lighting efficiency", "low-energy-lighting": 0.25}
|
||||
]
|
||||
|
||||
|
||||
class TestLightingAttributes:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue