Fixed lighting unit tests

This commit is contained in:
Khalim Conn-Kowlessar 2023-09-12 14:00:53 +01:00
parent 39b083cee9
commit f1c59157ed

View file

@ -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: