Advertisement
Guest User

monacocoin sentinel error

a guest
Sep 29th, 2017
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. monaco@hogehoge:~/sentinel$ ./venv/bin/py.test ./test
  2. ======================================= test session starts ========================================
  3. platform linux2 -- Python 2.7.6, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
  4. rootdir: /home/monaco/sentinel, inifile:
  5. collected 20 items
  6.  
  7. test/integration/test_jsonrpc.py F
  8. test/unit/test_models.py ..
  9. test/unit/test_monacoCoin_config.py .
  10. test/unit/test_monacoCoind_data_shims.py ..
  11. test/unit/test_monacoCoiny_things.py .....
  12. test/unit/test_submit_command.py .
  13. test/unit/models/test_proposals.py ...
  14. test/unit/models/test_superblocks.py .....
  15.  
  16. ============================================= FAILURES =============================================
  17. _________________________________________ test_monacoCoind _________________________________________
  18.  
  19. def test_monacoCoind():
  20. config_text = monacoCoinConfig.slurp_config_file(config.monacoCoin_conf)
  21. network = 'mainnet'
  22. is_testnet = False
  23. genesis_hash = u'0000005be1eb05b05fb45ae38ee9c1441514a65343cd146100a574de4278f1a3'
  24. for line in config_text.split("\n"):
  25. if line.startswith('testnet=1'):
  26. network = 'testnet'
  27. is_testnet = True
  28. genesis_hash = u'000008f18ad6913eed878632efbb83909272d493e5c065789330eb23ab65b5cf'
  29.  
  30. creds = monacoCoinConfig.get_rpc_creds(config_text, network)
  31. monacoCoind = monacoCoinDaemon(**creds)
  32. assert monacoCoind.rpc_command is not None
  33.  
  34. > assert hasattr(monacoCoind, 'rpc_connection')
  35. E assert False
  36. E + where False = hasattr(<monacoCoind.monacoCoinDaemon instance at 0x7f6752a37248>, 'rpc_connection')
  37.  
  38. test/integration/test_jsonrpc.py:30: AssertionError
  39. =============================== 1 failed, 19 passed in 1.00 seconds ================================
  40. monaco@hogehoge:~/sentinel$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement