Skip to content

Commit

Permalink
Bump aiohttp and neofs-testlib versions, fixes nspcc-dev#590
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Zayats <[email protected]>
  • Loading branch information
Evgeniy Zayats committed Aug 13, 2023
1 parent bda67ee commit cb509f5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
aiodns==3.0.0
aiohttp==3.7.4.post0
aiohttp==3.8.5
aioresponses==0.7.2
allure-pytest==2.9.45
allure-python-commons==2.9.45
Expand Down Expand Up @@ -30,7 +30,7 @@ mmh3==3.0.0
multidict==6.0.2
mypy==0.950
mypy-extensions==0.4.3
neofs-testlib==1.1.2
neofs-testlib==1.1.5
netaddr==0.8.0
packaging==21.3
paramiko==2.10.3
Expand Down
2 changes: 1 addition & 1 deletion robot/resources/lib/python_keywords/data_formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_wallet_public_key(wallet_path: str, wallet_password: str, format: str =
wallet_content = json.load(file)
__fix_wallet_schema(wallet_content)

wallet_from_json = wallet.Wallet.from_json(wallet_content, password=wallet_password)
wallet_from_json = wallet.Wallet.from_json(wallet_content, password=[wallet_password])
public_key_hex = str(wallet_from_json.accounts[0].public_key)

# Convert public key to specified format
Expand Down
2 changes: 1 addition & 1 deletion robot/resources/lib/python_keywords/payment_neogo.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_balance(shell: Shell, morph_chain: MorphChain, wallet_path: str, wallet_
This function returns NeoFS balance for given wallet.
"""
with open(wallet_path) as wallet_file:
wallet = neo3_wallet.Wallet.from_json(json.load(wallet_file), password=wallet_password)
wallet = neo3_wallet.Wallet.from_json(json.load(wallet_file), password=[wallet_password])
acc = wallet.accounts[-1]
payload = [{"type": "Hash160", "value": str(acc.script_hash)}]
try:
Expand Down
2 changes: 1 addition & 1 deletion robot/resources/lib/python_keywords/tombstone.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def verify_head_tombstone(

with open(wallet_path, "r") as file:
wlt_data = json.loads(file.read())
wlt = wallet.Wallet.from_json(wlt_data, password="")
wlt = wallet.Wallet.from_json(wlt_data, password=[""])
addr = wlt.accounts[0].address

assert header["ownerID"] == addr, "Tombstone Owner ID is wrong"
Expand Down

0 comments on commit cb509f5

Please sign in to comment.