aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_linkifytext.py
diff options
context:
space:
mode:
Diffstat (limited to '_pytest/test_linkifytext.py')
-rw-r--r--_pytest/test_linkifytext.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/_pytest/test_linkifytext.py b/_pytest/test_linkifytext.py
index 7c67fa6..4f9cd3b 100644
--- a/_pytest/test_linkifytext.py
+++ b/_pytest/test_linkifytext.py
@@ -86,3 +86,8 @@ def test_linkifytext_not_dm(team, channel_dm):
text = linkify_text('#{}: my test message'.format(channel_dm.name), team)
assert text == '#{}: my test message'.format(channel_dm.name)
+
+def test_linkifytext_not_mpdm(team, channel_mpdm):
+ text = linkify_text('#{}: my test message'.format(channel_mpdm.name), team)
+
+ assert text == '#{}: my test message'.format(channel_mpdm.name)