Skip to content

Commit

Permalink
fix wallet cli test expected message
Browse files Browse the repository at this point in the history
  • Loading branch information
OBorce committed Jan 31, 2024
1 parent 16b143c commit 5da9897
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion test/functional/wallet_tx_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def make_output(pub_key_bytes):
assert len(encoded_tx) < len(encoded_ptx)

output = await wallet.sign_raw_transaction(encoded_tx)
self.log.info(f"sign output: '{output}'")
assert_in("The transaction has been fully signed signed", output)
signed_tx = output.split('\n')[2]

Expand Down
7 changes: 3 additions & 4 deletions wallet/wallet-cli-lib/tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,9 @@ async fn produce_blocks_decommission_genesis_pool(#[case] seed: Seed) {
// submit the tx
test.create_genesis_wallet();
assert_eq!(test.exec("wallet-sync"), "Success");
assert_eq!(
test.exec(&format!("node-submit-transaction {signed_tx}")),
"The transaction was submitted successfully"
);
assert!(test
.exec(&format!("node-submit-transaction {signed_tx}"))
.starts_with("The transaction was submitted successfully with ID"));

// stake with the other acc
assert_eq!(test.exec("account-select 1"), "Success");
Expand Down

0 comments on commit 5da9897

Please sign in to comment.