hebdobot/tests/test_aliases.py

10 lines
263 B
Python
Raw Permalink Normal View History

from review.aliases import Aliases
from tests.utils import bot
2024-01-11 08:17:25 +01:00
def test_aliases(bot):
aliases = Aliases(bot.settings.USER_ALIASES)
assert aliases["Test"] == "Real Name"
assert aliases["TEST"] == "Real Name"
assert aliases["test"] == "Real Name"