1 2 3 4 5 6 7 8 9 |
# Customised settings for running tests. from settings_devel import * # noqa # https://github.com/sunlightlabs/django-honeypot/issues/12 # until django-honeypot provides a way of using the middleware in tests, # we'll remove the middleware MIDDLEWARE_CLASSES.remove( # noqa 'identityprovider.middleware.honeypot.HoneypotMiddleware') |