hebdobot/tests/test_aliases.py

10 lines
263 B
Python

from review.aliases import Aliases
from tests.utils import bot
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"