Error on Terminating local RPC client... Lesson 5 #621
Answered
by
cromewar
sanspeur33
asked this question in
Q&A
-
Finishing up lesson 5 and started getting this error on the client termination after the test is successful. No errors when just running deploy.py my code: from brownie import SimpleStorage, accounts
def test_deploy():
# arrange
account = accounts[0]
# act
simple_storage = SimpleStorage.deploy({"from": account})
starting_value = simple_storage.retrieve()
expected = 0
# assert
assert starting_value == expected
def test_updating_Storage():
# arrange
account = accounts[0]
simple_storage = SimpleStorage.deploy({"from": account})
# act
expected = 15
starting_value = simple_storage.store(expected, {"from": account})
# assert
assert expected == simple_storage.retrieve() results:
|
Beta Was this translation helpful? Give feedback.
Answered by
cromewar
Dec 23, 2021
Replies: 1 comment 2 replies
-
Hello @sanspeur33 does this helps you? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
cromewar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @sanspeur33 does this helps you?