aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-10-30 08:18:11 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:52 +0100
commitd79d89649435e8db19319228c9d757a55ac305be (patch)
treef3b7d9c75ce97361b96677988e02d1960422f92f /tests
parent8257efd22ea2ac9088098c161dc554d82bbdd974 (diff)
downloadwee-slack-d79d89649435e8db19319228c9d757a55ac305be.tar.gz
Move main out of slack dir
The sys path thing got wrong directory when inside slack dir.
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index c3d19e9..14dc4a5 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -21,3 +21,9 @@ 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 = {}