Skip to content

Commit

Permalink
clearing logs on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Feb 1, 2023
1 parent 33f11e9 commit b4b1ca9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def is_open(self) -> None:
def stop_server(self) -> None:
'''Stop the webserver.'''
self.close()
self.caplog.clear()
globals.server.should_exit = True
self.server_thread.join()

Expand Down

0 comments on commit b4b1ca9

Please sign in to comment.