-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from gregoil/config_using_django_settings
Config using django settings module
- Loading branch information
Showing
6 changed files
with
87 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
rotest: | ||
workdir: ~/.rotest | ||
host: localhost | ||
django_settings: rotest.common.django_utils.settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
"""Rotest testing framework, based on Python unit-test and Django.""" | ||
# pylint: disable=unused-import | ||
# pylint: disable=unused-import, wrong-import-position | ||
from __future__ import absolute_import | ||
from unittest import skip, SkipTest, skipIf as skip_if | ||
|
||
import django | ||
import colorama | ||
|
||
from .common import config | ||
if not hasattr(django, 'apps'): # noqa | ||
django.setup() | ||
|
||
from .common import config | ||
|
||
# Enable color printing on screen. | ||
colorama.init() |
Oops, something went wrong.