mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Put back some strings with wrapped single quotes
just to double check that flake8-quotes does indeed tolerate it
This commit is contained in:
parent
bd048a3115
commit
fe5d966dca
@ -118,7 +118,7 @@ class Input(object):
|
||||
fulfillment = Fulfillment.from_uri(data['fulfillment'])
|
||||
except ValueError:
|
||||
# TODO FOR CC: Throw an `InvalidSignature` error in this case.
|
||||
raise InvalidSignature('Fulfillment URI couldn\'t been parsed')
|
||||
raise InvalidSignature("Fulfillment URI couldn't been parsed")
|
||||
except TypeError:
|
||||
# NOTE: See comment about this special case in
|
||||
# `Input.to_dict`
|
||||
|
@ -97,7 +97,7 @@ def test_post_create_transaction_with_invalid_schema(client, caplog):
|
||||
res = client.post(TX_ENDPOINT, data=json.dumps(tx))
|
||||
expected_status_code = 400
|
||||
expected_error_message = (
|
||||
'Invalid transaction schema: \'version\' is a required property')
|
||||
"Invalid transaction schema: 'version' is a required property")
|
||||
assert res.status_code == expected_status_code
|
||||
assert res.json['message'] == expected_error_message
|
||||
assert caplog.records[0].args['status'] == expected_status_code
|
||||
|
Loading…
x
Reference in New Issue
Block a user