Skip to content

Commit

Permalink
Fix inspector error reporting for app tests
Browse files Browse the repository at this point in the history
AppServer passes None as the default server into TestState instance.
  • Loading branch information
Totktonada committed Sep 5, 2018
1 parent 5dcc453 commit 3f8c83c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,4 +378,5 @@ def cleanup_nondefault(self):
v.cleanup()

def kill_current_test(self):
self.servers['default'].kill_current_test()
if self.servers['default']:
self.servers['default'].kill_current_test()

0 comments on commit 3f8c83c

Please sign in to comment.