mirror of
https://github.com/planetmint/planetmint.git
synced 2025-10-14 00:59:17 +00:00
Merge pull request #14 from planetmint/eckelj/define_chardet
defined explicit chardet version
This commit is contained in:
commit
3960b42936
1
setup.py
1
setup.py
@ -71,6 +71,7 @@ tests_require = [
|
|||||||
] + docs_require
|
] + docs_require
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
'chardet==3.0.4',
|
||||||
'aiohttp==3.7.4',
|
'aiohttp==3.7.4',
|
||||||
'bigchaindb-abci==1.0.7',
|
'bigchaindb-abci==1.0.7',
|
||||||
'cryptoconditions==0.8.1',
|
'cryptoconditions==0.8.1',
|
||||||
|
@ -38,11 +38,13 @@ def test_eventify_block_works_with_any_transaction():
|
|||||||
block = {'height': 1,
|
block = {'height': 1,
|
||||||
'transactions': [tx, tx_transfer]}
|
'transactions': [tx, tx_transfer]}
|
||||||
|
|
||||||
expected_events = [{
|
expected_events = [
|
||||||
|
{
|
||||||
'height': 1,
|
'height': 1,
|
||||||
'asset_id': tx.id,
|
'asset_id': tx.id,
|
||||||
'transaction_id': tx.id
|
'transaction_id': tx.id
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
'height': 1,
|
'height': 1,
|
||||||
'asset_id': tx_transfer.asset['id'],
|
'asset_id': tx_transfer.asset['id'],
|
||||||
'transaction_id': tx_transfer.id
|
'transaction_id': tx_transfer.id
|
||||||
|
3
tox.ini
3
tox.ini
@ -24,6 +24,9 @@ skip_install = True
|
|||||||
extras = None
|
extras = None
|
||||||
commands = flake8 planetmint tests
|
commands = flake8 planetmint tests
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
ignore = E126 E127 W504 E302 E126 E305
|
||||||
|
|
||||||
[testenv:docsroot]
|
[testenv:docsroot]
|
||||||
basepython = {[base]basepython}
|
basepython = {[base]basepython}
|
||||||
changedir = docs/root/source
|
changedir = docs/root/source
|
||||||
|
Loading…
x
Reference in New Issue
Block a user