Updated bigchaindb-abci (#2689)

* Updated bigchaindb-abci

Reason: gevent API change breaks BigchainDB installation
Signed-off-by: David Dashyan <mail@davie.li>

* Version bump

Signed-off-by: David Dashyan <mail@davie.li>

* Updated changelog
This commit is contained in:
David Dashyan
2020-04-14 21:59:51 +00:00
committed by GitHub
parent 9e99c024d3
commit 186cd87444
4 changed files with 28 additions and 6 deletions

View File

@@ -66,8 +66,11 @@ def send_naughty_tx(asset, metadata):
# Then she expects a nicely formatted error code
status_code = sent_transaction.status_code
error = sent_transaction.error
regex = '\{"message":"Invalid transaction \\(ValidationError\\): Invalid key name .* in asset object. ' \
'The key name cannot contain characters .* or null characters","status":400\}\n'
regex = (
r'\{\s*\n*'
r'\s*"message": "Invalid transaction \(ValidationError\): Invalid key name.*The key name cannot contain characters.*\n*' # noqa
r'\s*"status": 400\n*'
r'\s*\}\n*')
assert status_code == 400
assert re.fullmatch(regex, error), sent_transaction
# Otherwise, she expects to see her transaction in the database