Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. import pytest
  2.  
  3. @pytest.fixture(scope="function", autouse=True)
  4. def isolate(fn_isolation):
  5. pass
  6.  
  7. @pytest.fixture(scope="module")
  8. def token(Token, accounts):
  9. t = accounts[0].deploy(Token, "Test Token", "TST", 18, "1000 ether")
  10. yield t
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement