예제 #1
0
def test_genesis():
    genesis = Block.genesis()
    assert isinstance(genesis, Block)

    for key, value in GENESIS_DATA.items():
        assert getattr(genesis, key) == value
예제 #2
0
def test_genesis():
    genesis = Block.genesis()
    for key, value in GENESIS_DATA.items():
        getattr(genesis, key) == value