diff options
Diffstat (limited to 'tests/integration/s3/test_key.py')
-rw-r--r-- | tests/integration/s3/test_key.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/integration/s3/test_key.py b/tests/integration/s3/test_key.py index 471857a7..9fb0db94 100644 --- a/tests/integration/s3/test_key.py +++ b/tests/integration/s3/test_key.py @@ -423,7 +423,8 @@ class S3KeyTest(unittest.TestCase): check.cache_control, ('public,%20max-age=500', 'public, max-age=500') ) - self.assertEqual(remote_metadata['cache-control'], 'public,%20max-age=500') + self.assertIn(remote_metadata['cache-control'], + ('public,%20max-age=500', 'public, max-age=500')) self.assertEqual(check.get_metadata('test-plus'), 'A plus (+)') self.assertEqual(check.content_disposition, 'filename=Sch%C3%B6ne%20Zeit.txt') self.assertEqual(remote_metadata['content-disposition'], 'filename=Sch%C3%B6ne%20Zeit.txt') |