From cccfc41409f101aa7759443f64203ded7061c59e Mon Sep 17 00:00:00 2001 From: Vladimir Domnich Date: Tue, 26 Jul 2022 10:57:18 +0300 Subject: [PATCH] [#268]: Rename neofs-cli parameter to expire-at Signed-off-by: Vladimir Domnich --- pytest_tests/testsuites/object/test_object_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/object/test_object_api.py b/pytest_tests/testsuites/object/test_object_api.py index 91dffd5..3564bb4 100644 --- a/pytest_tests/testsuites/object/test_object_api.py +++ b/pytest_tests/testsuites/object/test_object_api.py @@ -114,7 +114,7 @@ def test_object_api_lifetime(prepare_wallet_and_deposit, request, object_size): file_hash = get_file_hash(file_path) 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) assert get_file_hash(got_file) == file_hash