Skip to content

Commit

Permalink
pybamm-team#3428 oops, un-swap parameters to raise error with
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Oct 10, 2023
1 parent 5d917fb commit 5607acb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_parameters/test_parameter_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ def test_check_parameter_values(self):
with self.assertRaisesRegex(ValueError, "Thermodynamic factor"):
pybamm.ParameterValues({"1 + dlnf/dlnc": 1})
with self.assertRaisesRegex(
ValueError, "Exchange-current density for plating [A.m-2]"):
ValueError, "Exchange-current density for lithium-metal electrode [A.m-2]"):
pybamm.ParameterValues(
{"Exchange-current density for lithium-metal electrode [A.m-2]": 0.001})
{"Exchange-current density for plating [A.m-2]": 0.001})

def test_process_symbol(self):
parameter_values = pybamm.ParameterValues({"a": 4, "b": 2, "c": 3})
Expand Down

0 comments on commit 5607acb

Please sign in to comment.