Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
kberat-synnada committed Nov 21, 2024
1 parent 0bda1f3 commit 7a1bfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scripts/test_freeze.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def test_freeze_set_values_scalar():
model += ScalarItem()(input="input")
assert model.is_frozen is False

model.set_values({"input": [1.0]})
model._freeze()
model.set_values({"input": [1.0]})
assert model.is_frozen is True

assert model.input.data.metadata.data.value == [1.0] # type: ignore

0 comments on commit 7a1bfbd

Please sign in to comment.