File: __init__.py

package info (click to toggle)
python-wsgi-intercept 1.13.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 560 kB
  • sloc: python: 1,390; makefile: 57; sh: 5
file content (10 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
import os
import wsgi_intercept

# Ensure that our test apps are sending strict headers.
wsgi_intercept.STRICT_RESPONSE_HEADERS = True


if os.environ.get('USER') == 'cdent':
    import warnings
    warnings.simplefilter('error')