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:
Casey Bodley 2017-06-13 15:07:54 -04:00
parent d91b9c43a5
commit a358a840b6

View file

@ -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():