From 560a22cf71aa29fbf175510cd0bc0595e4ce568a Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sat, 24 Aug 2019 17:55:38 +0200 Subject: Include channel prefix in key in get_channel_map Fixes #587 --- _pytest/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_pytest/conftest.py') diff --git a/_pytest/conftest.py b/_pytest/conftest.py index 0a770c7..87fa834 100644 --- a/_pytest/conftest.py +++ b/_pytest/conftest.py @@ -57,7 +57,7 @@ def team(realish_eventrouter): @pytest.fixture def channel_general(team): - return team.channels[team.get_channel_map()['general']] + return team.channels[team.get_channel_map()['#general']] @pytest.fixture def user_alice(team): -- cgit