Skip to content

Commit

Permalink
Merge #616
Browse files Browse the repository at this point in the history
616: Adding Failer to test_signal r=AstraLuma a=MateusDenucci

Adding Failer to the test_signal.

Closes #548 

Co-authored-by: Mateus Denucci <mateusdenucci1@gmail.com>
  • Loading branch information
bors[bot] and MateusDenucci authored May 17, 2021
2 parents f7100ad + fe1ef5b commit 8198a14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ Halle Jones|HJones@aliacy.com||
[Mark J Cameron](https://git.luolix.tope/kcalmwinds) | | [LuminariWeekly](https://twitter.com/LuminariWeekly) |
[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) | |
[Anthony Plunkett](https://github.com/doobeh) | |
[Mateus Denucci Garcia Seabra Resende](https://github.com/MateusDenucci) | |
2 changes: 1 addition & 1 deletion tests/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_game_engine_with_instantiated_scene():

def test_signal():

engine = GameEngine(Scene, basic_systems=[Quitter])
engine = GameEngine(Scene, basic_systems=[Quitter, Failer], message=None, fail=lambda x: False)
engine.run()
assert not engine.running

Expand Down

0 comments on commit 8198a14

Please sign in to comment.