Skip to content

Commit

Permalink
Merge #617
Browse files Browse the repository at this point in the history
617: Issue 549 r=AstraLuma a=vicohart

Closing #549 
Added Failer to test_signal_once()

Co-authored-by: Victor Hart <vicohart@gmail.com>
  • Loading branch information
bors[bot] and vicohart authored May 17, 2021
2 parents 8198a14 + 33043e1 commit 15c6e61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@ Halle Jones|HJones@aliacy.com||
[Laura G. Funderburk](https://github.com/lfunderburk) | | [@lgfunderburk](https://twitter.com/lgfunderburk)|
[Mark Boer](https://github.com/mark-boer) | |
[Anthony Plunkett](https://github.com/doobeh) | |
[Mateus Denucci Garcia Seabra Resende](https://github.com/MateusDenucci) | |
[Mateus Denucci Garcia Seabra Resende](https://github.com/MateusDenucci) | |
[Victor Hart](https://github.com/vicohart) | [vicohart@gmail.com](vicohart@gmail.com) |
4 changes: 3 additions & 1 deletion tests/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ def test_signal():

def test_signal_once():

engine = GameEngine(Scene, basic_systems=[Quitter])
engine = GameEngine(
Scene, basic_systems=[Quitter, Failer], message=None,
fail=lambda x: False)
with engine:
engine.start()
engine.loop_once()
Expand Down

0 comments on commit 15c6e61

Please sign in to comment.