Skip to content

Commit

Permalink
Update test_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolaCourtier committed Aug 7, 2024
1 parent ca2a5b1 commit a4c0030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def test_predict_without_allow_infeasible_solutions(self, model):
@pytest.mark.unit
def test_build(self, model):
if isinstance(model, pybop.lithium_ion.SPMe):
model.build(init_soc=1.0)
model.build(initial_state={"Initial SoC": 1.0})

# Test attributes with init_soc
assert model.built_model is not None
Expand Down

0 comments on commit a4c0030

Please sign in to comment.