mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Minor fixes for 1.8.
This commit is contained in:
parent
c6b3d05f71
commit
ea28a6ebd6
2 changed files with 4 additions and 3 deletions
|
|
@ -38,9 +38,9 @@ class Test(Configuration):
|
|||
TEST_RUNNER = 'discover_runner.DiscoverRunner'
|
||||
|
||||
def TEMPLATE_CONTEXT_PROCESSORS(self):
|
||||
return Configuration.TEMPLATE_CONTEXT_PROCESSORS + (
|
||||
return Configuration.TEMPLATE_CONTEXT_PROCESSORS + [
|
||||
'tests.settings.base.test_callback',
|
||||
)
|
||||
]
|
||||
|
||||
ATTRIBUTE_SETTING = True
|
||||
|
||||
|
|
|
|||
3
tox.ini
3
tox.ini
|
|
@ -35,7 +35,8 @@ deps =
|
|||
coverage: coverage
|
||||
|
||||
commands =
|
||||
python manage.py test -v2 {posargs:tests}
|
||||
coverage run manage.py test -v2 {posargs:tests}
|
||||
coverage report
|
||||
|
||||
[testenv:flake8-py27]
|
||||
commands = flake8 configurations --ignore=E501,E127,E128,E124
|
||||
|
|
|
|||
Loading…
Reference in a new issue