Skip to content

Commit

Permalink
Merge pull request #174 from pph-collective/develop
Browse files Browse the repository at this point in the history
fix: unit test
  • Loading branch information
mcmcgrath13 authored Mar 19, 2021
2 parents 7844115 + 2f4d3b8 commit d94a044
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/model_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def test_update_all_agents(make_model, make_agent):
for k in agent.target_partners.keys():
agent.target_partners[k] = 0

model.reset_trackers()

with pytest.raises(ValueError) as excinfo:
model.update_all_agents()
assert "No agent zero!" in str(excinfo)
Expand Down

0 comments on commit d94a044

Please sign in to comment.