Fix for no content length on 204
Change-Id: I27945d122b9b4fa0fdce4c950ff8f68c1cf7dbc5
This commit is contained in:
parent
7a6793fb4b
commit
5bf39ea37c
|
@ -365,7 +365,7 @@ class AccountSmokeTest(ObjectStorageFixture):
|
||||||
" {1}".format(expected, received))
|
" {1}".format(expected, received))
|
||||||
|
|
||||||
expected = 0
|
expected = 0
|
||||||
received = int(response.headers.get('content-length'))
|
received = int(response.headers.get('content-length'), 0)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
expected,
|
expected,
|
||||||
received,
|
received,
|
||||||
|
|
Loading…
Reference in New Issue