mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-27 01:30:36 +00:00
update readme with example pyspec import
This commit is contained in:
parent
58f09b20f5
commit
f2703bc8d3
@ -109,6 +109,12 @@ if __name__ == "__main__":
|
||||
|
||||
```
|
||||
|
||||
And to use the pyspec:
|
||||
|
||||
```
|
||||
from eth2.phase0 import spec
|
||||
```
|
||||
|
||||
Recommendations:
|
||||
- you can have more than just 1 generator, e.g. ` gen_runner.run_generator("foo", [bar_test_suite, abc_test_suite, example_test_suite])`
|
||||
- you can concatenate lists of test cases, if you don't want to split it up in suites.
|
||||
|
Loading…
x
Reference in New Issue
Block a user