aboutsummaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 14dc4a5..be112d8 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -2,6 +2,8 @@ import importlib
import importlib.machinery
import sys
+from slack.shared import shared
+
# Copied from https://stackoverflow.com/a/72721573
def import_stub(stubs_path: str, module_name: str):
@@ -22,8 +24,5 @@ def import_stub(stubs_path: str, module_name: str):
import_stub("typings", "weechat")
-
-from slack.shared import shared
-
shared.weechat_version = 0x3080000
shared.weechat_callbacks = {}