mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
25 lines
723 B
Python
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
|