mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
18 lines
No EOL
414 B
Python
18 lines
No EOL
414 B
Python
import pytest
|
|
|
|
import discord.ext.test as dpytest
|
|
|
|
import extensions.models.regex
|
|
|
|
@pytest.mark.asyncio
|
|
async def test_regex():
|
|
# bot = main.Bot()
|
|
|
|
# dpytest.configure(bot)
|
|
|
|
# await dpytest.message("search!penis")
|
|
# dpytest.verify_message(
|
|
# "**Sorry!** That query included language we cannot accept in a "
|
|
# "non-NSFW channel. Please try again in an NSFW channel."
|
|
# )
|
|
pass |