diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/policy/test_actions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/policy/test_actions.py b/tests/unit/policy/test_actions.py index f5d4c4a..4ea133c 100644 --- a/tests/unit/policy/test_actions.py +++ b/tests/unit/policy/test_actions.py @@ -58,6 +58,7 @@ def test_init( ({'Expires': HTTPDATE_STR}, None), # Only valid for response headers ({'Cache-Control': 'max-age=60'}, 60), ({'Cache-Control': 'public, max-age=60'}, 60), + ({'Cache-Control': b'public, max-age=60'}, 60), # requests-oauthlib casts headers to bytes ({'Cache-Control': 'max-age=0'}, EXPIRE_IMMEDIATELY), ], ) |