mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
test-api: Add function for server & realm tests.
There are some endpoints that don't fall into the currently available categories, so this new function will be used for calling the tests for server and realm-related endpoints.
This commit is contained in:
committed by
Tim Abbott
parent
fcf1e3cd88
commit
c70d051031
@@ -603,6 +603,10 @@ def test_queues(client):
|
||||
queue_id = register_queue(client)
|
||||
deregister_queue(client, queue_id)
|
||||
|
||||
def test_server_organizations(client):
|
||||
# type: (Client) -> None
|
||||
pass
|
||||
|
||||
def test_errors(client):
|
||||
# type: (Client) -> None
|
||||
test_missing_request_argument(client)
|
||||
@@ -616,4 +620,5 @@ def test_the_api(client, nonadmin_client):
|
||||
test_streams(client, nonadmin_client)
|
||||
test_messages(client, nonadmin_client)
|
||||
test_queues(client)
|
||||
test_server_organizations(client)
|
||||
test_errors(client)
|
||||
|
||||
Reference in New Issue
Block a user