summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index 648ffbc499..8182d5a8c0 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -1705,6 +1705,12 @@ class CacheUtils(SimpleTestCase):
('', {'no-cache': 'Set-Cookie'}, {'no-cache=Set-Cookie'}),
('no-cache=Set-Cookie', {'no_cache': True}, {'no-cache'}),
('no-cache=Set-Cookie,no-cache=Link', {'no_cache': True}, {'no-cache'}),
+ ('no-cache=Set-Cookie', {'no_cache': 'Link'}, {'no-cache=Set-Cookie', 'no-cache=Link'}),
+ (
+ 'no-cache=Set-Cookie,no-cache=Link',
+ {'no_cache': 'Custom'},
+ {'no-cache=Set-Cookie', 'no-cache=Link', 'no-cache=Custom'},
+ ),
# Test whether private/public attributes are mutually exclusive
('private', {'private': True}, {'private'}),
('private', {'public': True}, {'public'}),