mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
16 lines
382 B
Python
16 lines
382 B
Python
|
import pytest
|
||
|
|
||
|
import discord.ext.test as dpytest
|
||
|
|
||
|
@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
|