Skip to content

Commit

Permalink
tried_once_more
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoil committed Jul 10, 2019
1 parent 87ba797 commit e4846d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/rotest/cli/client.py
Expand Up @@ -53,11 +53,10 @@
import pkg_resources
from attrdict import AttrDict

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

from rotest.common import core_log
from rotest.core.suite import TestSuite
from rotest.common import core_log
from rotest.core.filter import match_tags
from rotest.core.utils.common import print_test_hierarchy
from rotest.core.result.result import get_result_handlers
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

0 comments on commit e4846d1

Please sign in to comment.