Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0ca074b7
authored
May 08, 2015
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings: fix flake8 warnings
parent
caf8f033
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
circle/circle/settings/selenium_test.py
+12
-9
No files found.
circle/circle/settings/selenium_test.py
View file @
0ca074b7
...
@@ -14,9 +14,11 @@
...
@@ -14,9 +14,11 @@
#
#
# You should have received a copy of the GNU General Public License along
# You should have received a copy of the GNU General Public License along
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
import
os
# noqa
import
os
from
.base
import
*
# noqa
from
.base
import
*
# noqa
# flake8: noqa
os
.
environ
[
'REUSE_DB'
]
=
"1"
os
.
environ
[
'REUSE_DB'
]
=
"1"
os
.
environ
[
'DJANGO_TEST_DB_NAME'
]
=
"circle"
os
.
environ
[
'DJANGO_TEST_DB_NAME'
]
=
"circle"
DATABASES
=
{
DATABASES
=
{
...
@@ -34,22 +36,23 @@ DATABASES = {
...
@@ -34,22 +36,23 @@ DATABASES = {
SOUTH_TESTS_MIGRATE
=
False
SOUTH_TESTS_MIGRATE
=
False
INSTALLED_APPS
+=
(
INSTALLED_APPS
+=
(
'acl.tests'
,
'acl.tests'
,
'django_nose'
,
'django_nose'
,
'django_jenkins'
,
'django_jenkins'
,
)
)
TEST_RUNNER
=
'django_nose.NoseTestSuiteRunner'
TEST_RUNNER
=
'django_nose.NoseTestSuiteRunner'
path_to_selenium_test
=
os
.
path
.
join
(
SITE_ROOT
,
"dashboard/tests/selenium"
)
path_to_selenium_test
=
os
.
path
.
join
(
SITE_ROOT
,
"dashboard/tests/selenium"
)
NOSE_ARGS
=
[
'--stop'
,
'--with-doctest'
,
'--with-selenium-driver'
,
'--selenium-driver=firefox'
,
'-w
%
s'
%
path_to_selenium_test
]
NOSE_ARGS
=
[
'--stop'
,
'--with-doctest'
,
'--with-selenium-driver'
,
'--selenium-driver=firefox'
,
'-w
%
s'
%
path_to_selenium_test
]
PASSWORD_HASHERS
=
[
'django.contrib.auth.hashers.MD5PasswordHasher'
]
PASSWORD_HASHERS
=
[
'django.contrib.auth.hashers.MD5PasswordHasher'
]
CACHES
=
{
CACHES
=
{
'default'
:
{
'default'
:
{
'BACKEND'
:
'django.core.cache.backends.dummy.DummyCache'
'BACKEND'
:
'django.core.cache.backends.dummy.DummyCache'
}
}
}
}
LOGGING
[
'loggers'
][
'djangosaml2'
]
=
{
'handlers'
:
[
'console'
],
LOGGING
[
'loggers'
][
'djangosaml2'
]
=
{
'handlers'
:
[
'console'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment