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:
Yago González
2018-08-11 15:10:38 +02:00
committed by Tim Abbott
parent fcf1e3cd88
commit c70d051031

View File

@@ -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)