Skip to content

Commit

Permalink
Added sbml required marker for add_state
Browse files Browse the repository at this point in the history
  • Loading branch information
nanglo123 committed Sep 11, 2023
1 parent 4391a2b commit dff4db6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_modeling/test_askenet_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,10 @@ def test_remove_state(self):
self.assertNotIn(removed_state_id, new_observable['expression'])
self.assertNotIn(removed_state_id, new_observable['expression_mathml'])

# Some xml strings
@SBMLMATH_REQUIRED
# Some xml strings do not pass the checks
# (e.g. replacing the state X for 'E' argument xml string will fail that test, output will be
# 'expression_mathml': '<apply><times/><exponentiale/><ci>delta</ci></apply>')
def test_add_state(self):
amr = _d(self.sir_amr)
new_state_id = 'TEST'
Expand Down

0 comments on commit dff4db6

Please sign in to comment.