Skip to content

Commit

Permalink
pybamm-team#884 add test citation Brosa Planella 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
brosaplanella committed Nov 3, 2020
1 parent c301814 commit f67357b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/unit/test_citations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f67357b

Please sign in to comment.