Skip to content

Commit

Permalink
Fixes by websocket integration
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoil committed Jul 10, 2019
1 parent 2ef5d6f commit 57f1c26
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages


__version__ = "7.8.0"
__version__ = "7.8.1"

result_handlers = [
"db = rotest.core.result.handlers.db_handler:DBHandler",
Expand Down Expand Up @@ -49,7 +49,6 @@
'swaggapi>=0.6.7',
'cached_property',
'channels>=1,<2',
'websocket>=0.2',
'websocket-client>=0.56',
'pywin32<224; sys.platform == "win32"'
],
Expand Down
3 changes: 2 additions & 1 deletion src/rotest/cli/client.py
Expand Up @@ -53,7 +53,8 @@
import pkg_resources
from attrdict import AttrDict

django.setup() # noqa
if not hasattr(django, 'apps'): # noqa
django.setup()

from rotest.core.suite import TestSuite
from rotest.common import core_log
Expand Down
3 changes: 2 additions & 1 deletion src/rotest/cli/main.py
Expand Up @@ -4,7 +4,8 @@
import sys

import django
django.setup() # noqa
if not hasattr(django, 'apps'): # noqa
django.setup()

from rotest.cli.client import main as run
from rotest.cli.server import start_server
Expand Down
3 changes: 2 additions & 1 deletion src/rotest/core/runners/multiprocess/worker/process.py
Expand Up @@ -8,7 +8,8 @@
import psutil
from six.moves import queue

django.setup() # noqa
if not hasattr(django, 'apps'): # noqa
django.setup()

from rotest.common import core_log
from rotest.core.runners.multiprocess.worker.runner import WorkerRunner
Expand Down

0 comments on commit 57f1c26

Please sign in to comment.