Fix import error on travis

This commit is contained in:
Ilan Steemers
2015-06-30 11:01:36 +02:00
parent 482569b312
commit b0423a42d3

View File

@@ -4,15 +4,14 @@ from multiprocessing import Queue, Event
import pytest
from conf import Conf
myPath = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, myPath + '/../')
from django_q.core import Cluster, async, pusher, worker, monitor, redis_client, Sentinel, scheduler
from django_q.core import Cluster, async, pusher, worker, monitor, redis_client, Sentinel
from django_q.humanhash import DEFAULT_WORDLIST
from django_q import result, get_task, Task, Schedule
from django_q import result, get_task, Task
from django_q.tests.tasks import multiply
from django_q.conf import Conf
class WordClass(object):