aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2019-08-24 20:49:22 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2019-08-25 19:42:06 +0200
commitc35a6d81368f81e9d2ac991c9f4ae0d22405918b (patch)
tree2b52fef3f03e0ca5818bd396bc5bab5f4c15f915 /_pytest
parent64cf9f64e1097f8b4dacf08c9c6cc6a6baeb77a3 (diff)
downloadwee-slack-c35a6d81368f81e9d2ac991c9f4ae0d22405918b.tar.gz
Support @everyone in linkify_text
Diffstat (limited to '_pytest')
-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 a086fde..7c67fa6 100644
--- a/_pytest/test_linkifytext.py
+++ b/_pytest/test_linkifytext.py
@@ -49,6 +49,11 @@ def test_linkifytext_at_channel(team):
assert text == '<!channel>: my test message'
+def test_linkifytext_at_everyone(team):
+ text = linkify_text('@everyone: my test message', team)
+
+ assert text == '<!everyone>: my test message'
+
def test_linkifytext_at_group(team):
text = linkify_text('@group: my test message', team)