tests: assign the WebsocketError to an static variable
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
d630b79e8b
commit
2b7a5ff035
|
@ -24,6 +24,7 @@ class WebsocketError(Exception):
|
|||
self.code = code
|
||||
|
||||
class WebsocketClient:
|
||||
error = WebsocketError
|
||||
def __init__(self,
|
||||
type: str = "ws",
|
||||
port: int = 7010
|
||||
|
|
Loading…
Reference in New Issue