Skip to content

Commit bcaeac4

Browse files
committed
Setup sys.path in conftest
1 parent 55e4ac0 commit bcaeac4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conftest.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
from django.conf import settings
22
import mock
3+
import sys
34
import os
45
import os.path
56

7+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
8+
69

710
def pytest_configure(config):
811
import warnings

0 commit comments

Comments
 (0)