Skip to content

Commit

Permalink
bugfix testing exception saving
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserfarouk committed Dec 21, 2022
1 parent 5bc73ad commit 776bbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_sao_slow.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ def test_exceptions_are_saved():
mechanism.add(MyRaisingNegotiator(name=f"agent{1}"), preferences=ufuns[1])
assert mechanism.state.step == 0
mechanism.step()
assert mechanism.state.step == 1
mechanism.step()
mechanism.step()
assert mechanism.state.step == 1
assert mechanism.state.current_offer is not None
assert len(mechanism.stats) == 3
stats = mechanism.stats
Expand Down

0 comments on commit 776bbe3

Please sign in to comment.