2020-04-09 00:32:24 +00:00
|
|
|
import pytest
|
|
|
|
|
|
|
|
import discord.ext.test as dpytest
|
|
|
|
|
2020-04-09 05:02:24 +00:00
|
|
|
# import extensions.models.regex
|
2020-04-09 02:05:37 +00:00
|
|
|
|
2020-04-09 00:32:24 +00:00
|
|
|
@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
|