fix tests, change to get call
This commit is contained in:
parent
a993cb512d
commit
106ac2ab4d
@ -181,7 +181,7 @@ class ExternalMessageConsumer:
|
|||||||
host, port = producer['host'], producer['port']
|
host, port = producer['host'], producer['port']
|
||||||
token = producer['ws_token']
|
token = producer['ws_token']
|
||||||
name = producer['name']
|
name = producer['name']
|
||||||
scheme = 'wss' if producer['secure'] else 'ws'
|
scheme = 'wss' if producer.get('secure', False) else 'ws'
|
||||||
ws_url = f"{scheme}://{host}:{port}/api/v1/message/ws?token={token}"
|
ws_url = f"{scheme}://{host}:{port}/api/v1/message/ws?token={token}"
|
||||||
|
|
||||||
# This will raise InvalidURI if the url is bad
|
# This will raise InvalidURI if the url is bad
|
||||||
|
Loading…
Reference in New Issue
Block a user