Skip to content

Commit

Permalink
fix: show the same block is used as the base of the test
Browse files Browse the repository at this point in the history
Co-authored-by: El De-dog-lo <3859395+fubuloubu@users.noreply.github.com>
  • Loading branch information
skellet0r and fubuloubu committed Apr 17, 2022
1 parent e6f56e7 commit 6fd91ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/cli/projects/test/tests/test_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ def bob(accounts):


@pytest.fixture(scope="module", autouse=True)
def setup(alice, bob):
def setup(alice, bob, chain):
assert chain.provider.get_block("latest").number == 0
alice.transfer(bob, 10**18)
assert chain.provider.get_block("latest").number == 1


def test_test():
Expand Down

0 comments on commit 6fd91ef

Please sign in to comment.