示例#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