mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 11:51:06 +00:00
clear key.version_id now that GET requests return x-amz-version-id header
Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
cab30ee8ab
commit
4c6d0569b3
1 changed files with 2 additions and 0 deletions
|
@ -6294,6 +6294,8 @@ def test_versioning_obj_plain_null_version_overwrite():
|
|||
key.set_contents_from_string(content2)
|
||||
|
||||
eq(key.get_contents_as_string(), content2)
|
||||
# get_contents_to_string() will set key.version_id, clear it
|
||||
key.version_id = None
|
||||
|
||||
version_id = None
|
||||
for k in bucket.list_versions():
|
||||
|
|
Loading…
Reference in a new issue