tests: assign the WebsocketError to an static variable

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan committed 2022-02-22 07:47:38 -05:00
1 parent d630b79e8b
commit 2b7a5ff035
1 file changed
+1
+1
View File
@@ -24,6 +24,7 @@ class WebsocketError(Exception):
self.code = code
class WebsocketClient:
error = WebsocketError
def __init__(self,
type: str = "ws",
port: int = 7010