@@ -497,7 +497,7 @@ def patch_version(uid, ver_uid):
:param str ver_uid: Version UID.
"""
try:
- rsrc_api.revert_to_version(uid, rsrc_uid)
+ rsrc_api.revert_to_version(uid, ver_uid)
except ResourceNotExistsError as e:
return str(e), 404
except InvalidResourceError as e:
@@ -1372,9 +1372,6 @@ class TestVersion:
assert v1_uri != dup_uri
- @pytest.mark.skip(
- reason='TODO Reverting from version and resurrecting is not fully '
- 'functional.')
def test_revert_version(self):
Take a version snapshot, update a resource, and then revert to the