mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
api: Return a JsonableError if API key of invalid format is given.
This commit is contained in:
committed by
Tim Abbott
parent
72401b229f
commit
d691c249db
@@ -78,7 +78,7 @@ with test_server_running(force=options.force, external_host='zulipdev.com:9981')
|
||||
# Test error payloads
|
||||
client = Client(
|
||||
email=email,
|
||||
api_key='abcedrsdfd',
|
||||
api_key='X'*32,
|
||||
site=site
|
||||
)
|
||||
test_invalid_api_key(client)
|
||||
|
Reference in New Issue
Block a user