aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to '_pytest/conftest.py')
-rw-r--r--_pytest/conftest.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py
index 87fa834..e997bf6 100644
--- a/_pytest/conftest.py
+++ b/_pytest/conftest.py
@@ -60,6 +60,18 @@ def channel_general(team):
return team.channels[team.get_channel_map()['#general']]
@pytest.fixture
+def channel_private(team):
+ return team.channels[team.get_channel_map()['&some-private-channel']]
+
+@pytest.fixture
+def channel_dm(team):
+ return team.channels[team.get_channel_map()['alice']]
+
+@pytest.fixture
+def channel_mpdm(team):
+ return team.channels[team.get_channel_map()['CharlesTestuser,alice']]
+
+@pytest.fixture
def user_alice(team):
return team.users[team.get_username_map()['alice']]