def test_verify_vote_schema(b):
    vote = b.vote(('b' * 64), ('a' * 64), True)
    assert Voting.verify_vote_schema(vote)
    vote = b.vote(('b' * 64), 'a', True)
    assert (not Voting.verify_vote_schema(vote))
    vote = b.vote('b', ('a' * 64), True)
    assert (not Voting.verify_vote_schema(vote))
def test_verify_vote_schema(b):
    vote = b.vote(('b' * 64), ('a' * 64), True)
    assert Voting.verify_vote_schema(vote)
    vote = b.vote(('b' * 64), 'a', True)
    assert (not Voting.verify_vote_schema(vote))
    vote = b.vote('b', ('a' * 64), True)
    assert (not Voting.verify_vote_schema(vote))