mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-30 07:18:11 +08:00
Fix import error on travis
This commit is contained in:
@@ -4,15 +4,14 @@ from multiprocessing import Queue, Event
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from conf import Conf
|
|
||||||
|
|
||||||
myPath = os.path.dirname(os.path.abspath(__file__))
|
myPath = os.path.dirname(os.path.abspath(__file__))
|
||||||
sys.path.insert(0, myPath + '/../')
|
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.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.tests.tasks import multiply
|
||||||
|
from django_q.conf import Conf
|
||||||
|
|
||||||
|
|
||||||
class WordClass(object):
|
class WordClass(object):
|
||||||
|
|||||||
Reference in New Issue
Block a user