From 1f29164ced01bde92c72d20d67bc453484a4f078 Mon Sep 17 00:00:00 2001 From: Dwight Gunning Date: Sat, 7 Nov 2015 16:26:38 +0100 Subject: Fixed #6727 -- Made patch_cache_control() patch an empty Cache-Control header. --- tests/cache/tests.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/cache') diff --git a/tests/cache/tests.py b/tests/cache/tests.py index 066ffad3e2..ba3745847b 100644 --- a/tests/cache/tests.py +++ b/tests/cache/tests.py @@ -1456,6 +1456,7 @@ class CacheUtils(SimpleTestCase): tests = ( # Initial Cache-Control, kwargs to patch_cache_control, expected Cache-Control parts (None, {'private': True}, {'private'}), + ('', {'private': True}, {'private'}), # Test whether private/public attributes are mutually exclusive ('private', {'private': True}, {'private'}), -- cgit v1.3