aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_unfurl.py
diff options
context:
space:
mode:
Diffstat (limited to '_pytest/test_unfurl.py')
-rw-r--r--_pytest/test_unfurl.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/_pytest/test_unfurl.py b/_pytest/test_unfurl.py
index 0ca3cd0..6178bbb 100644
--- a/_pytest/test_unfurl.py
+++ b/_pytest/test_unfurl.py
@@ -85,10 +85,8 @@ import pytest
))
def test_unfurl_refs(case, realish_eventrouter):
wee_slack.EVENTROUTER = realish_eventrouter
+ wee_slack.config.unfurl_ignore_alt_text = case.get('ignore_alt_text')
wee_slack.config.unfurl_auto_link_display = case.get('auto_link_display')
- result = wee_slack.unfurl_refs(
- case['input'],
- ignore_alt_text=case.get('ignore_alt_text', False)
- )
+ result = wee_slack.unfurl_refs(case['input'])
assert result == case['output']