diff --git a/tests/unit/test_citations.py b/tests/unit/test_citations.py index bc7c70a5a7..a2e243f552 100644 --- a/tests/unit/test_citations.py +++ b/tests/unit/test_citations.py @@ -107,6 +107,15 @@ def test_subramanian_2005(self): pybamm.particle.PolynomialManyParticles(None, "Negative", "quadratic profile") self.assertIn("subramanian2005", citations._papers_to_cite) + def test_brosaplanella_2020(self): + # Test that calling relevant bits of code adds the right paper to citations + citations = pybamm.citations + + citations._reset() + self.assertNotIn("brosaplanella2020TSPMe", citations._papers_to_cite) + pybamm.electrolyte_conductivity.Integrated(None) + self.assertIn("brosaplanella2020TSPMe", citations._papers_to_cite) + def test_scikit_fem(self): citations = pybamm.citations