Skip to content

Commit

Permalink
#1456 fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed May 3, 2021
1 parent 9cb7cf0 commit 99ccde2
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ class TestConstantConcentration(unittest.TestCase):
def test_public_functions(self):
param = pybamm.LithiumIonParameters()
a = pybamm.Scalar(0)
variables = {"Porosity": a, "Electrolyte concentration": a}
variables = {
"Porosity": a,
"Negative electrode porosity": a,
"Separator porosity": a,
"Positive electrode porosity": a,
"Electrolyte concentration": a,
}
submodel = pybamm.electrolyte_diffusion.ConstantConcentration(param)
std_tests = tests.StandardSubModelTests(submodel, variables)
std_tests.test_all()
Expand Down

0 comments on commit 99ccde2

Please sign in to comment.