mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-13 07:21:16 +00:00
Apply isort and ruff code style
This commit is contained in:
@@ -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"""
|
||||
|
Reference in New Issue
Block a user