mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 23:29:47 +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
d91b9c43a5
commit
a358a840b6
1 changed files with 2 additions and 0 deletions
|
@ -6808,6 +6808,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