aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_unfurl.py
diff options
context:
space:
mode:
authorNana Amfo <nanaus13@yahoo.com>2019-04-08 06:03:35 -0500
committerTrygve Aaberge <trygveaa@gmail.com>2019-04-08 13:03:35 +0200
commit7d919f3897deb322f13428127b1ba91731917f4c (patch)
tree942f9995cb32d70f4891135ff01082e51d1403e2 /_pytest/test_unfurl.py
parentc605e587a6ee17029b8f072351de8b81a473dce5 (diff)
downloadwee-slack-7d919f3897deb322f13428127b1ba91731917f4c.tar.gz
Add @user-groups support (#680)
Add @user-groups with tab-completion. @user-groups will be unfurl into format <!subteam^{ID}|handle> message before sending message via linktext method.
Diffstat (limited to '_pytest/test_unfurl.py')
-rw-r--r--_pytest/test_unfurl.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/_pytest/test_unfurl.py b/_pytest/test_unfurl.py
index 40674b4..6b8e84c 100644
--- a/_pytest/test_unfurl.py
+++ b/_pytest/test_unfurl.py
@@ -62,6 +62,10 @@ slack = wee_slack
'input': "<@U407ABLLW> I think 3 > 2",
'output': "@alice I think 3 > 2",
},
+ {
+ 'input': "<!subteam^U407ABLLW|@dev> This is announcement for the dev team",
+ 'output': "@dev This is announcement for the dev team"
+ }
))
def test_unfurl_refs(case, realish_eventrouter):
slack.EVENTROUTER = realish_eventrouter