def validator_connection_request_data(): yield build_json(ValidatorConnectionRequestFactory)
def confirmation_block_fake_data(): yield build_json(ConfirmationBlockFactory)
def invalid_block_fake_data(): yield build_json(InvalidBlockFactory)
def bank_connection_request_data(): yield build_json(BankConnectionRequestFactory)
def connection_request_data(): yield build_json(ConnectionRequestFactory)
def validator_fake_data(): yield build_json(ValidatorFactory)
def bank_fake_data(): yield build_json(BankFactory)
def account_fake_data(): yield build_json(AccountFactory)
def bank_fake_data(): data = build_json(BankFactory) data['confirmation_expiration'] = str(data['confirmation_expiration']) yield data