Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jul 24, 2024
1 parent 093705f commit c9e907a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def test_load_write(tmp_path):
assert isinstance(TestBlock.r.params["ri"], MFInteger)
assert isinstance(TestBlock.r.params["rd"], MFDouble)

assert isinstance(block.r, list)
assert block.r == [True, 2, 2.0]
assert isinstance(block.r, dict)
assert block.r == {"rd": 2.0, "ri": 2, "rk": True}

# test block write
fpth2 = tmp_path / f"{name}2.txt"
Expand Down

0 comments on commit c9e907a

Please sign in to comment.