error-bot: Remove ERROR_BOT support.

This isn't sufficiently useful to keep the added complexity.  Users
should use the email error reporting, or set up Sentry error
reporting.
This commit is contained in:
Alex Vandiver
2023-04-11 17:51:14 +00:00
committed by Tim Abbott
parent db07b8668f
commit d888bb3df2
11 changed files with 25 additions and 111 deletions

View File

@@ -87,11 +87,11 @@ def add_subscriptions(client: Client) -> None:
validate_against_openapi_schema(result, "/users/me/subscriptions", "post", "200")
ensure_users([26], ["newbie"])
ensure_users([25], ["newbie"])
# {code_example|start}
# To subscribe other users to a stream, you may pass
# the `principals` argument, like so:
user_id = 26
user_id = 25
result = client.add_subscriptions(
streams=[
{"name": "new stream", "description": "New stream for testing"},
@@ -633,13 +633,13 @@ def test_user_not_authorized_error(nonadmin_client: Client) -> None:
@openapi_test_function("/streams/{stream_id}/members:get")
def get_subscribers(client: Client) -> None:
ensure_users([11, 26], ["iago", "newbie"])
ensure_users([11, 25], ["iago", "newbie"])
# {code_example|start}
# Get the subscribers to a stream
result = client.get_subscribers(stream="new stream")
# {code_example|end}
assert result["subscribers"] == [11, 26]
assert result["subscribers"] == [11, 25]
def get_user_agent(client: Client) -> None: