Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api docs: Tweak intros.

Alya Abbott9ae317f5fbbf
diff --git a/api_docs/interactive-bots-api.md b/api_docs/interactive-bots-api.md
index d9f2b8b7f78..a1a8ee4d349 100644
--- a/api_docs/interactive-bots-api.md
+++ b/api_docs/interactive-bots-api.md
@@ -1,6 +1,7 @@
## Interactive bots API
-This section documents functions available to the bot and the structure of the bot's config file.
+This page documents functions available to the bot, and the structure of the
+bot's config file.
With this API, you *can*
diff --git a/api_docs/writing-tests-for-interactive-bots.md b/api_docs/writing-tests-for-interactive-bots.md
index dec158632b9..57509e2eb16 100644
--- a/api_docs/writing-tests-for-interactive-bots.md
+++ b/api_docs/writing-tests-for-interactive-bots.md
@@ -1,10 +1,10 @@
# Writing tests for interactive bots
-Bots, like most software that you want to work, should have unit tests. In this section,
-we detail our framework for writing unit tests for bots. We require that bots in the main
+This page gives an overview of the unit testing framework for interactive bots.
+Bots in the main
[`python-zulip-api`](https://github.com/zulip/python-zulip-api/tree/main/zulip_bots/zulip_bots/bots)
-repository include a reasonable set of unit tests, so that future developers can easily
-refactor them.
+repository are required to include a reasonable set of unit tests, so that
+future developers can easily refactor them.
*Unit tests for bots make heavy use of mocking. If you want to get comfortable with mocking,
mocking strategies, etc. you should check out our [mocking guide](