Open pipermerriam opened 4 years ago
It is nice to be able to easily generate dummy data for tests.
https://github.com/ethereum/trinity/blob/545a1d59eb78195bef00a83f5d40cbfa267f31cf/p2p/tools/factories/keys.py
The above uses factory-boy to create factories for generating PublicKey and PrivateKey instances for testing.
factory-boy
PublicKey
PrivateKey
eth_keys.tools.factories
[factories]
extras_require
Is this issue still open?
What was wrong?
It is nice to be able to easily generate dummy data for tests.
https://github.com/ethereum/trinity/blob/545a1d59eb78195bef00a83f5d40cbfa267f31cf/p2p/tools/factories/keys.py
The above uses
factory-boy
to create factories for generatingPublicKey
andPrivateKey
instances for testing.How can it be fixed?
eth_keys.tools.factories
[factories]
into theextras_require
that includes thefactory-boy
dependency.