Merge "Check other params preserved when slo_etag is extracted"

This commit is contained in:
Zuul 2018-07-12 21:35:16 +00:00 committed by Gerrit Code Review
commit a21730348e
1 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ class TestSloMiddleware(SloTestCase):
listing_json = json.dumps([{
"bytes": 104857600,
"content_type": "application/x-troff-me",
"hash": "8de7b0b1551660da51d8d96a53b85531; "
"hash": "8de7b0b1551660da51d8d96a53b85531; this=that;"
"slo_etag=dc9947c2b53a3f55fe20c1394268e216",
"last_modified": "2018-07-12T03:14:39.532020",
"name": "test.me"
@ -326,7 +326,7 @@ class TestSloMiddleware(SloTestCase):
status, headers, body = self.call_slo(req)
self.assertEqual(json.loads(body), [{
"slo_etag": '"dc9947c2b53a3f55fe20c1394268e216"',
"hash": "8de7b0b1551660da51d8d96a53b85531",
"hash": "8de7b0b1551660da51d8d96a53b85531; this=that",
"name": "test.me",
"bytes": 104857600,
"last_modified": "2018-07-12T03:14:39.532020",