diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2019-08-24 20:49:12 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2019-08-25 19:42:06 +0200 |
commit | 64cf9f64e1097f8b4dacf08c9c6cc6a6baeb77a3 (patch) | |
tree | 935792fc4512428bba7e75c4c88c229a70da4be3 /_pytest/conftest.py | |
parent | 6042a85c9b2e9bf266d3225a2a878583ea5b944d (diff) | |
download | wee-slack-64cf9f64e1097f8b4dacf08c9c6cc6a6baeb77a3.tar.gz |
Add some more tests for linkify_text
Diffstat (limited to '_pytest/conftest.py')
-rw-r--r-- | _pytest/conftest.py | 12 |
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']] |