Apply isort and ruff code style

This commit is contained in:
Michael Osthege
2024-10-03 11:05:44 +02:00
committed by Andreas
parent 05a3c1a5bb
commit a4d178d250
23 changed files with 1787 additions and 866 deletions

View File

@@ -1,13 +1,14 @@
import pytest
from modules.class_heatpump import Heatpump
@pytest.fixture(scope='function')
@pytest.fixture(scope="function")
def heatpump() -> Heatpump:
""" Heatpump with 5 kw heating power and 24 h prediction
"""
"""Heatpump with 5 kw heating power and 24 h prediction"""
return Heatpump(5000, 24)
class TestHeatpump:
def test_cop(self, heatpump):
"""Testing calculate COP for variouse outside temperatures"""