Skip to content

Commit

Permalink
👌 Fixed some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnel committed Aug 23, 2024
1 parent ca4a4d6 commit a12f5c9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,16 +389,16 @@ def test_doas_model(suite):


def test_doas_model_validate():
"""A ``OscillationParameterIssue`` should be raise if there is list length mismatch.
"""An ``OscillationParameterIssue`` should be raised if there is a list length mismatch.
List values are: ``labels``, ``frequencies``, ``rates``
List values are: ``labels``, ``frequencies``, ``rates``.
"""
model_data = OneOscillation.sim_model.as_dict()
model_data["megacomplex"]["m1"]["labels"].append("extra-label")
model = DampedOscillationsModel(**model_data)
validation_msg = model.validate()
assert (
validation_msg == "Your model has 1 problem:\n\n"
" * Size of labels (2), frequencies (1) and rates (1) does not match for damped "
" * The size of labels (2), frequencies (1), and rates (1) does not match for damped "
"oscillation megacomplex 'm1'."
)

0 comments on commit a12f5c9

Please sign in to comment.