Skip to content

Commit

Permalink
test: update test to match new Rotator structure
Browse files Browse the repository at this point in the history
  • Loading branch information
nicrie committed Sep 13, 2024
1 parent af1ca8f commit cce4e35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/models/single/test_hilbert_eof_rotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit cce4e35

Please sign in to comment.