Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why not just test_fixtures, instead of all that copypaste methods? #61

Open
potehinre opened this issue May 20, 2018 · 0 comments
Open

Comments

@potehinre
Copy link
Contributor

potehinre commented May 20, 2018

def test_fixtures:
     for contract in self.contracts.values():
         self.check_contract(contact["code"], contract["asert"])

https://github.com/GenesisKernel/genesis-tests/blob/6f57ca7ef9dc460cf469ac3643267cc076480d3f/contract_functions_tests.py#L57

if you want separate test methods, you could use metaclass, and generate those methods through it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant