Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any URL can be used #257

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Any URL can be used

83a359e
Select commit
Loading
Failed to load commit list.
Open

Any URL can be used #257

Any URL can be used
83a359e
Select commit
Loading
Failed to load commit list.
Cirrus CI / unittests failed Mar 2, 2024 in 3m 23s

Task Summary

Instruction main failed in 00:04

Details

✅ 00:01 clone
✅ 00:42 before_install
✅ 00:01 version
✅ 00:01 tag
✅ 00:01 pip
✅ 02:28 install
❌ 00:04 main

tests/test_blocks.py::test_block[block_details127]
  /tmp/cirrus-ci-build/electrumx/lib/coins.py:3393: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
    return nist5_hash.getPoWHash(header)

tests/test_blocks.py::test_block[block_details135]
  /tmp/cirrus-ci-build/electrumx/lib/coins.py:3291: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
    return x16r_hash.getPoWHash(header)

tests/test_blocks.py::test_block[block_details144]
  /tmp/cirrus-ci-build/electrumx/lib/coins.py:2910: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
    return quark_hash.getPoWHash(header)

tests/test_blocks.py::test_block[block_details150]
  /tmp/cirrus-ci-build/electrumx/lib/coins.py:1752: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
    return x13_hash.getPoWHash(header)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

----------- coverage: platform linux, python 3.9.2-final-0 -----------
Name                                  Stmts   Miss  Cover
---------------------------------------------------------
electrumx/__init__.py                     5      0   100%
electrumx/lib/__init__.py                 0      0   100%
electrumx/lib/coins.py                 3018    109    96%
electrumx/lib/enum.py                    36      5    86%
electrumx/lib/env_base.py                54      3    94%
electrumx/lib/hash.py                    68      0   100%
electrumx/lib/lrucache.py               106     71    33%
electrumx/lib/merkle.py                 130      0   100%
electrumx/lib/peer.py                   203    149    27%
electrumx/lib/script.py                  89     22    75%
electrumx/lib/server_base.py             67     45    33%
electrumx/lib/text.py                    25     20    20%
electrumx/lib/tx.py                     757     78    90%
electrumx/lib/tx_axe.py                 143     12    92%
electrumx/lib/tx_dash.py                170      0   100%
electrumx/lib/util.py                   249     17    93%
electrumx/server/__init__.py              0      0   100%
electrumx/server/block_processor.py     483    433    10%
electrumx/server/controller.py           79     38    52%
electrumx/server/daemon.py              323    104    68%
electrumx/server/db.py                  518    351    32%
electrumx/server/env.py                 127      5    96%
electrumx/server/history.py             246    102    59%
electrumx/server/mempool.py             237      5    98%
electrumx/server/peers.py               387    337    13%
electrumx/server/session.py            1118    935    16%
electrumx/server/storage.py              94     11    88%
---------------------------------------------------------
TOTAL                                  8732   2852    67%

=========================== short test summary info ============================
FAILED tests/server/test_daemon.py::test_set_urls_bad - ValueError: substring...
FAILED tests/server/test_daemon.py::test_set_urls_short - AssertionError: ass...
============ 2 failed, 403 passed, 3 skipped, 23 warnings in 4.41s =============