{"id":22191976,"url":"https://github.com/cryptape/ckb-py-integration-test","last_synced_at":"2026-02-20T09:32:41.063Z","repository":{"id":175192223,"uuid":"653461787","full_name":"cryptape/ckb-py-integration-test","owner":"cryptape","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-11T03:42:37.000Z","size":26093,"stargazers_count":0,"open_issues_count":21,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-11T08:48:24.246Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cryptape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-14T05:25:06.000Z","updated_at":"2025-12-16T02:55:06.000Z","dependencies_parsed_at":"2023-09-22T23:46:29.632Z","dependency_job_id":"dcb98f61-d8d5-4318-be25-cc30a4cb9e7a","html_url":"https://github.com/cryptape/ckb-py-integration-test","commit_stats":null,"previous_names":["gpblockchain/ckb-py-integration-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cryptape/ckb-py-integration-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-py-integration-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-py-integration-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-py-integration-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-py-integration-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptape","download_url":"https://codeload.github.com/cryptape/ckb-py-integration-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptape%2Fckb-py-integration-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29647740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T12:18:34.977Z","updated_at":"2026-02-20T09:32:41.049Z","avatar_url":"https://github.com/cryptape.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ckb-py-integration-test\n\nckb-py-integration-test is a project that uses Python for integrated testing. The goal is to automate the testing of operations on the CKB chain.\n\n## Dependencies\n\nThis project requires Python and pip to be installed on your system. The Python libraries needed for this project are listed in `requirements.txt`. You can install them by running the following command:\n```\nmake prepare\n```\nThis `prepare` command will perform the following operations:\n\n1. Install the Python libraries listed in `requirements.txt`.\n2. Download and install the ckb binary.\n3. Download and install the ckb-cli.\n\nIn addition, we also provide the following commands:\n\n- To run the tests for the project:\n  \n```\n    make test\n```\n\n- To clean up temporary files and other generated project files:\n```\n    make clean\n```\n\n## Run single test \n\nyou can run single test \n\nprepare\n```shell\nmake prepare\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eexample\u003c/summary\u003e\n\n```\n\npython -m pip install --upgrade pip\nWARNING: The directory '/Users/guopenglin/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\nWARNING: The directory '/Users/guopenglin/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\nCollecting pip\n  Downloading https://files.pythonhosted.org/packages/08/e3/57d4c24a050aa0bcca46b2920bff40847db79535dc78141eb83581a52eb8/pip-23.1.2-py3-none-any.whl (2.1MB)\n     |████████████████████████████████| 2.1MB 894kB/s \nInstalling collected packages: pip\n  Found existing installation: pip 19.1.1\n    Not uninstalling pip at /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages, outside environment /Users/guopenglin/PycharmProjects/frigateDylamic/venv\n    Can't uninstall 'pip'. No files were found to uninstall.\nSuccessfully installed pip-23.1.2\npip install -r requirements.txt\nWARNING: The directory '/Users/guopenglin/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.\nRequirement already satisfied: Jinja2==3.1.2 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (3.1.2)\nRequirement already satisfied: pytest==7.3.2 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (7.3.2)\nRequirement already satisfied: requests==2.31.0 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from -r requirements.txt (line 3)) (2.31.0)\nRequirement already satisfied: tqdm==4.65.0 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from -r requirements.txt (line 4)) (4.65.0)\nRequirement already satisfied: pytest-html==3.2.0 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from -r requirements.txt (line 5)) (3.2.0)\nRequirement already satisfied: MarkupSafe\u003e=2.0 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from Jinja2==3.1.2-\u003e-r requirements.txt (line 1)) (2.1.3)\nRequirement already satisfied: iniconfig in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from pytest==7.3.2-\u003e-r requirements.txt (line 2)) (1.1.1)\nRequirement already satisfied: packaging in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from pytest==7.3.2-\u003e-r requirements.txt (line 2)) (20.3)\nRequirement already satisfied: pluggy\u003c2.0,\u003e=0.12 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from pytest==7.3.2-\u003e-r requirements.txt (line 2)) (0.13.1)\nRequirement already satisfied: exceptiongroup\u003e=1.0.0rc8 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from pytest==7.3.2-\u003e-r requirements.txt (line 2)) (1.1.1)\nRequirement already satisfied: tomli\u003e=1.0.0 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from pytest==7.3.2-\u003e-r requirements.txt (line 2)) (2.0.1)\nRequirement already satisfied: importlib-metadata\u003e=0.12 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from pytest==7.3.2-\u003e-r requirements.txt (line 2)) (1.6.0)\nRequirement already satisfied: charset-normalizer\u003c4,\u003e=2 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from requests==2.31.0-\u003e-r requirements.txt (line 3)) (3.1.0)\nRequirement already satisfied: idna\u003c4,\u003e=2.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.31.0-\u003e-r requirements.txt (line 3)) (2.8)\nRequirement already satisfied: urllib3\u003c3,\u003e=1.21.1 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from requests==2.31.0-\u003e-r requirements.txt (line 3)) (1.24.1)\nRequirement already satisfied: certifi\u003e=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from requests==2.31.0-\u003e-r requirements.txt (line 3)) (2019.3.9)\nRequirement already satisfied: py\u003e=1.8.2 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from pytest-html==3.2.0-\u003e-r requirements.txt (line 5)) (1.11.0)\nRequirement already satisfied: pytest-metadata in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pytest-html==3.2.0-\u003e-r requirements.txt (line 5)) (1.8.0)\nRequirement already satisfied: zipp\u003e=0.5 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from importlib-metadata\u003e=0.12-\u003epytest==7.3.2-\u003e-r requirements.txt (line 2)) (3.1.0)\nRequirement already satisfied: pyparsing\u003e=2.0.2 in /Users/guopenglin/PycharmProjects/frigateDylamic/venv/lib/python3.7/site-packages (from packaging-\u003epytest==7.3.2-\u003e-r requirements.txt (line 2)) (2.4.7)\nRequirement already satisfied: six in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from packaging-\u003epytest==7.3.2-\u003e-r requirements.txt (line 2)) (1.12.0)\necho \"install ckb\"\ninstall ckb\npython -m download\nsystem:Darwin,architecture:x86_64\nDownloading URL: https://github.com/nervosnetwork/ckb/releases/download/v0.109.0/ckb_v0.109.0_aarch64-apple-darwin-portable.zip\n100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 22.5M/22.5M [00:02\u003c00:00, 10.6MiB/s]\nsystem:Darwin,architecture:x86_64\nDownloading URL: https://github.com/nervosnetwork/ckb/releases/download/v0.110.0/ckb_v0.110.0_aarch64-apple-darwin-portable.zip\n100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 22.5M/22.5M [00:01\u003c00:00, 18.0MiB/s]\nsystem:Darwin,architecture:x86_64\nDownloading URL: https://github.com/nervosnetwork/ckb/releases/download/v0.111.0-rc6/ckb_v0.111.0-rc6_aarch64-apple-darwin-portable.zip\n100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 22.6M/22.6M [00:04\u003c00:00, 5.37MiB/s]\necho \"install ckb cli\"\ninstall ckb cli\nsh prepare.sh\nfatal: destination path 'ckb-cli' already exists and is not an empty directory.\nAlready on 'exec/data2'\nYour branch is up to date with 'origin/exec/data2'.\ncargo build --release\n    Finished release [optimized] target(s) in 0.70s\n```\n\u003c/details\u003e\n\nrun single test \n\n```shell\n# if not set debugging ,will generated html file in report/report.html\npython -m pytest test_cases/node_compatible/test_after_ckb_2023_hardfork.py::TestAfterCkb2023::test_node_sync\n\n```\n\u003cdetails\u003e\n  \u003csummary\u003eexample\u003c/summary\u003e\n\n```\n(venv) @MacBook-Pro-4 ckb-py-integration-test % python -m pytest test_cases/node_compatible/test_after_ckb_2023_hardfork.py::TestAfterCkb2023::test_node_sync\n\n========================================================================== test session starts ==========================================================================\nplatform darwin -- Python 3.7.3, pytest-7.3.2, pluggy-0.13.1\nrootdir: /Users/WebstormProjects/ckb-py-integration-test\nconfigfile: pytest.ini\nplugins: html-3.2.0, allure-pytest-2.9.45, forked-1.0.2, xdist-1.28.0, cov-2.7.1, tap-2.3, metadata-1.8.0\ncollected 1 item                                                                                                                                                        \n\ntest_cases/node_compatible/test_after_ckb_2023_hardfork.py \n\n.                                                                                                      [100%]\n\n----------------------------- generated html file: file:///Users/WebstormProjects/ckb-py-integration-test/report/report.html -----------------------------\n===================================================================== 1 passed in 62.97s (0:01:02) ======================================================================\n```\n\n\u003c/details\u003e\n\nclean tmp dir\n```angular2html\n\nmake clean-tmp\n```\n\u003cdetails\u003e\n  \u003csummary\u003eexample\u003c/summary\u003e\n\n```angular2html\npkill ckb\nmake: [clean-tmp] Error 1 (ignored)\nrm -rf tmp\nrm -rf report\n```\n\u003c/details\u003e\n\n## Debugging\n\nYou can add debug logging for pytest by modifying the [pytest.ini](pytest.ini) file:\n\n```angular2html\naddopts = -s \n```\n\n## Contributing\n\nIf you want to contribute to this project, you can fork this repository, create a feature branch, and send us a Pull Request. For more information, please see the CONTRIBUTING.md file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptape%2Fckb-py-integration-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptape%2Fckb-py-integration-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptape%2Fckb-py-integration-test/lists"}