Skip to content

Commit

Permalink
Optional transition for testing.transition_is_processed
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDecan committed Aug 18, 2018
1 parent 5fe80e5 commit e10dc6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Unreleased
- (Added) Some documentation about running multiple statecharts.
- (Added) An ``unbind`` method for an ``Interpreter``.
- (Fixed) Hook-errors reported by ``sismic-bdd`` CLI are a little bit more verbose (`#81 <https://github.com/AlexandreDecan/sismic/issues/81>`__).

- (Fixed) Optional transition for ``testing.transition_is_processed``, as previously promised by its documentation but not implemented.


1.3.0 (2018-07-06)
------------------
Expand Down
2 changes: 1 addition & 1 deletion sismic/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def event_is_consumed(steps: MacroSteps, name: Optional[str], parameters: Mappin
return False


def transition_is_processed(steps: MacroSteps, transition: Optional[Transition]) -> bool:
def transition_is_processed(steps: MacroSteps, transition: Optional[Transition]=None) -> bool:
"""
Holds if a transition was processed during given steps.
Expand Down

0 comments on commit e10dc6f

Please sign in to comment.