Model/model_data/tests/test_wall_recommendations.py
2023-06-23 10:38:54 +01:00

25 lines
723 B
Python

import os
import pytest
import pickle
from model_data.recommendations.WallRecommendations import WallRecommendations
class TestWallRecommendations:
@pytest.fixture
def input_properties(self):
with open(
os.path.abspath(os.path.dirname(__file__)) + "/test_data/input_properties.pkl", "rb"
) as f:
return pickle.load(f)
@pytest.fixture
def uvalue_estimates(self):
with open(
os.path.abspath(os.path.dirname(__file__)) + "/test_data/uvalue_estimates_walls.pkl", "rb"
) as f:
return pickle.load(f)
def test_nothing(self, input_properties, uvalue_estimates):
assert input_properties
assert uvalue_estimates