Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
Move tests to test_committee_helpers.py and `test_epoch_processing_…
Browse files Browse the repository at this point in the history
…helpers.py`
  • Loading branch information
hwwhww committed Feb 6, 2019
1 parent ee079a9 commit a46aa81
Show file tree
Hide file tree
Showing 4 changed files with 784 additions and 761 deletions.
10 changes: 10 additions & 0 deletions tests/eth2/beacon/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,16 @@ def sample_validator_record_params():
}


@pytest.fixture()
def sample_block(sample_beacon_block_params):
return SerenityBeaconBlock(**sample_beacon_block_params)


@pytest.fixture()
def sample_state(sample_beacon_state_params):
return BeaconState(**sample_beacon_state_params)


@pytest.fixture
def filled_beacon_state(genesis_epoch,
genesis_slot,
Expand Down
Loading

0 comments on commit a46aa81

Please sign in to comment.