mirror of
https://github.com/maubot/maubot
synced 2025-08-29 02:10:38 +00:00
This changeset contains a set of Pytest fixtures and a mocked bot class to ease the writing of Maubot plugin unit tests. Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
17 lines
838 B
Python
17 lines
838 B
Python
# maubot - A plugin-based Matrix bot system.
|
|
# Copyright (C) 2023 Aurélien Bompard
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
from .bot import TestBot, make_message # noqa: F401
|
|
from .fixtures import * # noqa: F401,F403
|