From 8144d227a10a389e419413d2e29ea958acb89f1d Mon Sep 17 00:00:00 2001 From: adbenitez Date: Sat, 16 Jul 2022 05:06:04 -0400 Subject: [PATCH] use is_multiuser() instead of is_group() --- tests/test_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index d5ac37d..1e5b2ee 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -24,7 +24,7 @@ def test_logout(self, mocker, requests_mock) -> None: def test_filter(self, mocker, requests_mock) -> None: self._requests_mock(requests_mock) for msg in mocker.get_replies("/login https://write.as token"): - if msg.chat.is_group(): + if msg.chat.is_multiuser(): chat = msg.chat break msgs = mocker.get_replies("blog post", filters="simplebot_writefreely")