Assertion Error when testing test_advanced_collectible_integration.py #178
Answered
by
PatrickAlphaC
toddabraham
asked this question in
Q&A
-
My code below is returning an
from scripts.helpful_scripts import (
get_account,
LOCAL_BLOCKCHAIN_ENVIRONMENTS,
get_contract,
)
from brownie import network, AdvancedCollectible
import time
import pytest
from scripts.advanced_collectible.deploy_and_create import deploy_and_create
def test_can_create_advanced_collectible_integration():
if network.show_active() in LOCAL_BLOCKCHAIN_ENVIRONMENTS:
pytest.skip("Only for integration testing")
advanced_collectible, creation_transaction = deploy_and_create()
time.sleep(60)
assert advanced_collectible.tokenCounter() == 1 |
Beta Was this translation helpful? Give feedback.
Answered by
PatrickAlphaC
Oct 12, 2021
Replies: 1 comment
-
Just increase the time.sleep amount. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PatrickAlphaC
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just increase the time.sleep amount.