Skip to content

Conversation

@evgeniiz321
Copy link
Contributor

closes #1252

Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. I'm not sure why raw mode is not a separate test, search is search.
  2. Returned data is not checked properly.
  3. Ruff.

endpoint=neofs_env.sn_rpc,
range_cut="0:1",
)
get_object(default_wallet.path, cid, oid, shell=neofs_env.shell, endpoint=neofs_env.sn_rpc, is_raw=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But what does it check? If node is to return complete object in the result you won't notice.

rpc_endpoint=neofs_env.sn_rpc,
wallet=default_wallet.path,
cid=cid,
rule = "EC 3/1 CBF 1" if neofs_env.inner_ring_nodes[0].chain_meta_data else "REP 3 CBF 3"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont get it, why EC/REP depends on chain meta data?

endpoint=neofs_env.sn_rpc,
rule=rule,
attributes={"__NEOFS__METAINFO_CONSISTENCY": "strict"}
if neofs_env.inner_ring_nodes[0].chain_meta_data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it a common way to write python if with a single line? froze me a little to understand why metainfo is always strict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests for raw object GET

4 participants