From cce4e35dac28e5029bb87ec32d1cab32ec2df8da Mon Sep 17 00:00:00 2001 From: Niclas Rieger Date: Fri, 13 Sep 2024 15:59:22 +0200 Subject: [PATCH] test: update test to match new Rotator structure --- tests/models/single/test_hilbert_eof_rotator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/models/single/test_hilbert_eof_rotator.py b/tests/models/single/test_hilbert_eof_rotator.py index 9fc3bd3..b90960c 100644 --- a/tests/models/single/test_hilbert_eof_rotator.py +++ b/tests/models/single/test_hilbert_eof_rotator.py @@ -42,12 +42,12 @@ def test_fit(ceof_model): ceof_rotator.fit(ceof_model) assert hasattr( - ceof_rotator, "model" - ), 'The attribute "model" should be populated after fitting.' + ceof_rotator, "model_data" + ), 'The attribute "model_data" should be populated after fitting.' assert hasattr( ceof_rotator, "data" ), 'The attribute "data" should be populated after fitting.' - assert isinstance(ceof_rotator.model, HilbertEOF) + assert isinstance(ceof_rotator.model_data, DataContainer) assert isinstance(ceof_rotator.data, DataContainer)