From 6c07fb93e5c0ea8e481bebce4664bc4bfb28ac1f Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Wed, 19 Feb 2020 21:03:59 +0100 Subject: Remove auto_link_display parameter from unfurl_refs This is only used in tests, and there we can override the config instead. --- _pytest/test_unfurl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_pytest') diff --git a/_pytest/test_unfurl.py b/_pytest/test_unfurl.py index be3e958..0ca3cd0 100644 --- a/_pytest/test_unfurl.py +++ b/_pytest/test_unfurl.py @@ -85,10 +85,10 @@ import pytest )) def test_unfurl_refs(case, realish_eventrouter): wee_slack.EVENTROUTER = realish_eventrouter + 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), - auto_link_display=case.get('auto_link_display', 'both'), + ignore_alt_text=case.get('ignore_alt_text', False) ) assert result == case['output'] -- cgit