Parcourir la source

closing page to avoid socket warnings on shutdown

Rodja Trappe il y a 2 ans
Parent
commit
2beeb2894b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      tests/user.py

+ 1 - 0
tests/user.py

@@ -24,6 +24,7 @@ class User():
 
     def stop_server(self) -> None:
         '''Stop the webserver.'''
+        self.selenium.close()
         nicegui_globals.server.should_exit = True
         self.thread.join()