Minor fixes for 1.8.

This commit is contained in:
Jannis Leidel 2015-02-13 18:12:02 +01:00
parent c6b3d05f71
commit ea28a6ebd6
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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