[#268]: rename neofs-cli parameter to expire-at.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
This commit is contained in:
parent
838cca4704
commit
5ca51d4672
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ def test_object_api_lifetime(prepare_wallet_and_deposit, request, object_size):
|
||||||
file_hash = get_file_hash(file_path)
|
file_hash = get_file_hash(file_path)
|
||||||
epoch = get_epoch()
|
epoch = get_epoch()
|
||||||
|
|
||||||
oid = put_object(wallet, file_path, cid, options=f'--expires-on {epoch + 1}')
|
oid = put_object(wallet, file_path, cid, options=f'--expire-at {epoch + 1}')
|
||||||
got_file = get_object(wallet, cid, oid)
|
got_file = get_object(wallet, cid, oid)
|
||||||
assert get_file_hash(got_file) == file_hash
|
assert get_file_hash(got_file) == file_hash
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue