update test suite for MMGen Wallet v15.1.dev25

This commit is contained in:
The MMGen Project 2025-03-29 12:12:35 +00:00
commit 4688ee94c0
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
8 changed files with 34 additions and 28 deletions

View file

@ -32,7 +32,8 @@ $ python3 -m pip install --upgrade mmgen-node-tools
### Development version:
Install the latest development version of [MMGen Wallet][6] for your platform:
First install the latest development version of [MMGen Wallet][6] for your
platform. Then perform the following steps:
```bash
$ git clone https://github.com/mmgen/mmgen-node-tools

View file

@ -1 +1 @@
3.5.dev8
3.5.dev9

View file

@ -38,7 +38,7 @@ python_requires = >=3.9
include_package_data = True
install_requires =
mmgen-wallet>=15.1.dev23
mmgen-wallet>=15.1.dev25
pyyaml
yahooquery

View file

@ -9,7 +9,7 @@
# https://gitlab.com/mmgen/mmgen-node-tools
"""
test.cmdtest_d.cfg: configuration data for cmdtest.py
test.cmdtest_d.include.cfg: configuration data for cmdtest.py
"""
cmd_groups_altcoin = []

View file

@ -9,13 +9,13 @@
# https://gitlab.com/mmgen/mmgen-wallet
"""
cmdtest_d.ct_main: Basic operations tests for the cmdtest.py test suite
cmdtest_d.main: Basic operations tests for the cmdtest.py test suite
"""
import sys,time
import sys, time
from ..include.common import cfg
from .ct_base import CmdTestBase
from .base import CmdTestBase
class CmdTestMain(CmdTestBase):
'basic operations with fake RPC data'

View file

@ -9,13 +9,13 @@
# https://gitlab.com/mmgen/mmgen-node-tools
"""
test.cmdtest_d.ct_misc: Miscellaneous test groups for the cmdtest.py test suite
test.cmdtest_d.misc: Miscellaneous test groups for the cmdtest.py test suite
"""
import os,shutil
import os, shutil
from ..include.common import cfg
from .ct_base import CmdTestBase
from .base import CmdTestBase
refdir = os.path.join('test','ref','ticker')

View file

@ -9,18 +9,18 @@
# https://gitlab.com/mmgen/mmgen-node-tools
"""
test.cmdtest_d.ct_regtest: Regtest tests for the cmdtest.py test suite
test.cmdtest_d.regtest: Regtest tests for the cmdtest.py test suite
"""
import sys,os
import sys, os
from decimal import Decimal
from mmgen.util import msg_r,die,gmsg
from mmgen.util import msg_r, die, gmsg
from mmgen.protocol import init_proto
from mmgen.proto.btc.regtest import MMGenRegtest
from ..include.common import cfg,imsg,stop_test_daemons,joinpath
from .ct_base import CmdTestBase
from ..include.common import cfg, imsg, stop_test_daemons, joinpath
from .base import CmdTestBase
args1 = ['--bob']
args2 = ['--bob','--rpc-backend=http']

View file

@ -81,23 +81,28 @@ create_dir_links() {
delete_old_stuff() {
rm -rf test/unit_tests.py
rm -rf test/cmdtest_d/common.py
rm -rf test/cmdtest_d/ct_base.py
rm -rf test/cmdtest_d/group_mgr.py
rm -rf test/cmdtest_d/runner.py
}
create_test_links() {
paths='
test/include symbolic
test/overlay/__init__.py symbolic
test/overlay/fakemods/mmgen symbolic
test/__init__.py symbolic
test/clean.py symbolic
test/cmdtest.py hard
test/modtest.py hard
test/test-release.sh symbolic
test/cmdtest_d/common.py symbolic
test/cmdtest_d/ct_base.py symbolic
test/cmdtest_d/runner.py symbolic
test/cmdtest_d/group_mgr.py symbolic
cmds/mmgen-regtest symbolic
test/include symbolic
test/overlay/__init__.py symbolic
test/overlay/fakemods/mmgen symbolic
test/__init__.py symbolic
test/clean.py symbolic
test/cmdtest.py hard
test/modtest.py hard
test/test-release.sh symbolic
test/cmdtest_d/base.py symbolic
test/cmdtest_d/include/common.py symbolic
test/cmdtest_d/include/runner.py symbolic
test/cmdtest_d/include/group_mgr.py symbolic
test/cmdtest_d/include/pexpect.py symbolic
cmds/mmgen-regtest symbolic
'
while read path type; do
[ "$path" ] || continue