def test_unsigned_block_return_false(self): # Arrange block = Block() # Assert assert block.is_signed() is False
def test_signed_block_return_true(self): # Arrange block = Block() random_sign(block, REF_PUB_KEY, REF_PRIV_KEY) # Assert assert block.is_signed() is True