Add STRICT_RESPONSE_HEADERS check to gabbi tests
This uses a new feature in wsgi_intercept 1.4.1 that checks to make sure that response headers are native str type (different things in Python 2 and 3). Since Pecan is well behaved this "just works". Tested locally with both py27 and py35. Change-Id: I1406cfbfa14f69132fc91549779424b8427e7b78
This commit is contained in:
parent
e26bf9078f
commit
15c0c71036
@ -18,10 +18,12 @@
|
||||
import os
|
||||
|
||||
from gabbi import driver
|
||||
import wsgi_intercept
|
||||
|
||||
from gnocchi.tests.gabbi import fixtures
|
||||
|
||||
|
||||
wsgi_intercept.STRICT_RESPONSE_HEADERS = True
|
||||
TESTS_DIR = 'gabbits'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user