diff options
author | Tollef Fog Heen <tfheen@err.no> | 2015-08-29 16:54:38 +0200 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2015-08-29 16:54:38 +0200 |
commit | ae93a2670c0faba8f6a73463fb14d411343b2c60 (patch) | |
tree | 20ae83b1bc7760bb4a9d4ddbd3847363dea97424 /_pytest | |
parent | a37787d8b18dba4864f14611ec48a08cdef67c98 (diff) | |
download | wee-slack-ae93a2670c0faba8f6a73463fb14d411343b2c60.tar.gz |
Make sure to import rootdir for pytest
Diffstat (limited to '_pytest')
-rw-r--r-- | _pytest/conftest.py | 4 |
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 |