Skip to content

Sync with neofs-testcases #99

@smallhive

Description

@smallhive

After refreshing neof-tescases submodule, refreshing requirements.txt (#98) and installing missed lib (ecdsa, in #98 as well)

There is another moment. All tests are red because of:

    def init_wallet(wallet_path: str, wallet_password: str) -> str:
        """
        Create new wallet and new account.
        Args:
            wallet_path:  The path to the wallet to save wallet.
            wallet_password: The password for new wallet.
        """
        wallet = neo3_wallet.Wallet()
        account = neo3_account.Account.create_new(wallet_password)
        wallet.account_add(account)
        with open(wallet_path, "w") as out:
>           json.dump(wallet.to_json(wallet_password), out)
E           TypeError: Wallet.to_json() takes 1 positional argument but 2 were given

to_json() is found twice, and both times in submodule neofs-testcases. Removing passed password solves issue, but how in works inside neofs-testcases then?

I consider that there is some hidden magic

Steps to Reproduce

  1. Merge Refresh requirements.txt #98
  2. See tests output

Metadata

Metadata

Assignees

Labels

I4No visible changesS4RoutineU1Critically important to resolve quicklybugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions