mirror of
https://github.com/maubot/maubot
synced 2025-08-29 02:10:38 +00:00
Add a testing framework
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>
This commit is contained in:
parent
75879cfb93
commit
202c2836b2
5 changed files with 258 additions and 0 deletions
2
setup.py
2
setup.py
|
@ -57,6 +57,8 @@ setuptools.setup(
|
|||
entry_points="""
|
||||
[console_scripts]
|
||||
mbc=maubot.cli:app
|
||||
[pytest11]
|
||||
maubot=maubot.testing
|
||||
""",
|
||||
data_files=[
|
||||
(".", ["maubot/example-config.yaml"]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue