zulip_bots: Rename SimpleMessageServer to MockMessageServer.

Given that the purpose of this message server is solely for testing,
we rename it for clarity.
This commit is contained in:
PIG208 2021-05-25 19:54:13 +08:00 committed by Tim Abbott
parent 5f21952b77
commit d949f2024f
4 changed files with 7 additions and 7 deletions

View file

@ -13,7 +13,7 @@ from zulip_bots.request_test_lib import (
from zulip_bots.simple_lib import (
SimpleStorage,
SimpleMessageServer,
MockMessageServer,
)
from zulip_bots.test_file_utils import (
@ -29,7 +29,7 @@ class StubBotHandler:
self.full_name = 'test-bot'
self.email = 'test-bot@example.com'
self.user_id = 0
self.message_server = SimpleMessageServer()
self.message_server = MockMessageServer()
self.reset_transcript()
def reset_transcript(self) -> None: