Skip to content

Commit

Permalink
Update test to match new id/name scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Jul 6, 2023
1 parent 28a9303 commit 6b08945
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/test_askenet_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ def test_petrinet_model_from_url():
assert len(template_model.templates) == 2
assert isinstance(template_model.templates[0], ControlledConversion)
assert isinstance(template_model.templates[1], NaturalConversion)
assert template_model.templates[0].controller.name == 'Infected'
assert template_model.templates[0].subject.name == 'Susceptible'
assert template_model.templates[0].outcome.name == 'Infected'
assert template_model.templates[1].subject.name == 'Infected'
assert template_model.templates[1].outcome.name == 'Recovered'
assert template_model.templates[0].controller.display_name == 'Infected'
assert template_model.templates[0].controller.name == 'I'
assert template_model.templates[0].subject.display_name == 'Susceptible'
assert template_model.templates[0].outcome.display_name == 'Infected'
assert template_model.templates[1].subject.display_name == 'Infected'
assert template_model.templates[1].outcome.display_name == 'Recovered'


def test_regnet_model_from_url():
Expand Down

0 comments on commit 6b08945

Please sign in to comment.