tests: assign the WebsocketError to an static variable

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-02-19 15:16:15 -05:00
parent d630b79e8b
commit 2b7a5ff035
1 changed files with 1 additions and 0 deletions

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