Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monaco@hogehoge:~/sentinel$ ./venv/bin/py.test ./test
- ======================================= test session starts ========================================
- platform linux2 -- Python 2.7.6, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
- rootdir: /home/monaco/sentinel, inifile:
- collected 20 items
- test/integration/test_jsonrpc.py F
- test/unit/test_models.py ..
- test/unit/test_monacoCoin_config.py .
- test/unit/test_monacoCoind_data_shims.py ..
- test/unit/test_monacoCoiny_things.py .....
- test/unit/test_submit_command.py .
- test/unit/models/test_proposals.py ...
- test/unit/models/test_superblocks.py .....
- ============================================= FAILURES =============================================
- _________________________________________ test_monacoCoind _________________________________________
- def test_monacoCoind():
- config_text = monacoCoinConfig.slurp_config_file(config.monacoCoin_conf)
- network = 'mainnet'
- is_testnet = False
- genesis_hash = u'0000005be1eb05b05fb45ae38ee9c1441514a65343cd146100a574de4278f1a3'
- for line in config_text.split("\n"):
- if line.startswith('testnet=1'):
- network = 'testnet'
- is_testnet = True
- genesis_hash = u'000008f18ad6913eed878632efbb83909272d493e5c065789330eb23ab65b5cf'
- creds = monacoCoinConfig.get_rpc_creds(config_text, network)
- monacoCoind = monacoCoinDaemon(**creds)
- assert monacoCoind.rpc_command is not None
- > assert hasattr(monacoCoind, 'rpc_connection')
- E assert False
- E + where False = hasattr(<monacoCoind.monacoCoinDaemon instance at 0x7f6752a37248>, 'rpc_connection')
- test/integration/test_jsonrpc.py:30: AssertionError
- =============================== 1 failed, 19 passed in 1.00 seconds ================================
- monaco@hogehoge:~/sentinel$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement