aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/conftest.py
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2015-08-29 16:54:38 +0200
committerTollef Fog Heen <tfheen@err.no>2015-08-29 16:54:38 +0200
commitae93a2670c0faba8f6a73463fb14d411343b2c60 (patch)
tree20ae83b1bc7760bb4a9d4ddbd3847363dea97424 /_pytest/conftest.py
parenta37787d8b18dba4864f14611ec48a08cdef67c98 (diff)
downloadwee-slack-ae93a2670c0faba8f6a73463fb14d411343b2c60.tar.gz
Make sure to import rootdir for pytest
Diffstat (limited to '_pytest/conftest.py')
-rw-r--r--_pytest/conftest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py
index 0cbceb9..2f90977 100644
--- a/_pytest/conftest.py
+++ b/_pytest/conftest.py
@@ -1,4 +1,8 @@
import pytest
+import sys
+
+sys.path.append(str(pytest.config.rootdir))
+
from wee_slack import SlackServer
from wee_slack import Channel
from wee_slack import User