A Python Mastodon bot that's geared towards instance admins and their needs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
"""Tests for the toot_bot module.""" |
|
|
|
# pylint: disable=missing-docstring |
|
|
|
import toot_bot |
|
|
|
def test_default_include_article(): |
|
assert toot_bot.default_include_article('some article') |
|
assert not toot_bot.default_include_article(None)
|
|
|