test suite: rename some directories
- cmdtest_py_d -> cmdtest_d - objtest_py_d -> objtest_d - objattrtest_py_d -> objattrtest_d
This commit is contained in:
parent
9bc284ae24
commit
926716090a
42 changed files with 45 additions and 45 deletions
|
|
@ -197,7 +197,7 @@ if cfg.no_altcoin and cfg.coin != 'BTC':
|
|||
|
||||
set_globals(cfg)
|
||||
|
||||
from test.cmdtest_py_d.common import ( # this must be loaded after set_globals()
|
||||
from test.cmdtest_d.common import ( # this must be loaded after set_globals()
|
||||
get_file_with_ext,
|
||||
confirm_continue
|
||||
)
|
||||
|
|
@ -255,7 +255,7 @@ else:
|
|||
if cfg.skipping_deps:
|
||||
cfg.no_daemon_autostart = True
|
||||
|
||||
from test.cmdtest_py_d.cfg import cfgs
|
||||
from test.cmdtest_d.cfg import cfgs
|
||||
|
||||
def list_cmds():
|
||||
|
||||
|
|
@ -321,7 +321,7 @@ class CmdGroupMgr:
|
|||
|
||||
dpy_data = None
|
||||
|
||||
from test.cmdtest_py_d.cfg import cmd_groups_dfl, cmd_groups_extra
|
||||
from test.cmdtest_d.cfg import cmd_groups_dfl, cmd_groups_extra
|
||||
|
||||
cmd_groups = cmd_groups_dfl.copy()
|
||||
cmd_groups.update(cmd_groups_extra)
|
||||
|
|
@ -367,7 +367,7 @@ class CmdGroupMgr:
|
|||
if modname is None and 'modname' in kwargs:
|
||||
modname = kwargs['modname']
|
||||
import importlib
|
||||
modpath = f'test.cmdtest_py_d.ct_{modname or gname}'
|
||||
modpath = f'test.cmdtest_d.ct_{modname or gname}'
|
||||
return getattr(importlib.import_module(modpath), clsname)
|
||||
|
||||
def create_group(self, gname, sg_name, full_data=False, modname=None, is3seed=False, add_dpy=False):
|
||||
|
|
@ -649,7 +649,7 @@ class CmdTestRunner:
|
|||
|
||||
def init_group(self, gname, sg_name=None, cmd=None, quiet=False, do_clean=True):
|
||||
|
||||
from test.cmdtest_py_d.cfg import cmd_groups_altcoin
|
||||
from test.cmdtest_d.cfg import cmd_groups_altcoin
|
||||
if cfg.no_altcoin and gname in cmd_groups_altcoin:
|
||||
omsg(gray(f'INFO → skipping test group {gname!r} (--no-altcoin)'))
|
||||
return None
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
# https://gitlab.com/mmgen/mmgen-wallet
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.cfg: configuration data for cmdtest.py
|
||||
test.cmdtest_d.cfg: configuration data for cmdtest.py
|
||||
"""
|
||||
|
||||
from .common import pwfile, hincog_fn, incog_id_fn, randbool
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.common: Shared routines and data for the cmdtest.py test suite
|
||||
test.cmdtest_d.common: Shared routines and data for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import sys, os
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
# https://gitlab.com/mmgen/mmgen-wallet
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_automount: autosigning with automount tests for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_automount: autosigning with automount tests for the cmdtest.py test suite
|
||||
"""
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
# https://gitlab.com/mmgen/mmgen-wallet
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_automount_eth: Ethereum automount autosigning tests for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_automount_eth: Ethereum automount autosigning tests for the cmdtest.py test suite
|
||||
"""
|
||||
import os, re
|
||||
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_autosign: Autosign tests for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_autosign: Autosign tests for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import sys, os, time, shutil, atexit
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_base: Base class for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_base: Base class for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import sys, os
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
# Licensed according to the terms of GPL Version 3. See LICENSE for details.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_cfgfile: CfgFile tests for the MMGen cmdtest.py test suite
|
||||
test.cmdtest_d.ct_cfgfile: CfgFile tests for the MMGen cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import sys, os, time, shutil
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_chainsplit: Forking scenario tests for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_chainsplit: Forking scenario tests for the cmdtest.py test suite
|
||||
This module is unmaintained and currently non-functional
|
||||
"""
|
||||
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_ethdev: Ethdev tests for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_ethdev: Ethdev tests for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import sys, os, re, shutil, asyncio, json
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
# https://gitlab.com/mmgen/mmgen-wallet
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_help: helpscreen test group for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_help: helpscreen test group for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import sys, os, time
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
# Licensed according to the terms of GPL Version 3. See LICENSE for details.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_input: user input tests for the MMGen cmdtest.py test suite
|
||||
test.cmdtest_d.ct_input: user input tests for the MMGen cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import sys, os
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_main: Basic operations tests for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_main: Basic operations tests for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import sys, os
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_misc: Miscellaneous test groups for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_misc: Miscellaneous test groups for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import sys, re
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
# Licensed according to the terms of GPL Version 3. See LICENSE for details.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_opts: options processing tests for the MMGen cmdtest.py test suite
|
||||
test.cmdtest_d.ct_opts: options processing tests for the MMGen cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import os, time
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_ref: Reference file tests for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_ref: Reference file tests for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import os
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_ref_3seed: Saved and generated reference file tests for 128,
|
||||
test.cmdtest_d.ct_ref_3seed: Saved and generated reference file tests for 128,
|
||||
192 and 256-bit seeds for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_ref_altcoin: Altcoin reference file tests for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_ref_altcoin: Altcoin reference file tests for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
from mmgen.color import set_vt100
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
test.cmdtest_py_d.ct_regtest: Regtest tests for the cmdtest.py test suite
|
||||
test.cmdtest_d.ct_regtest: Regtest tests for the cmdtest.py test suite
|
||||
"""
|
||||
|
||||
import os, json, time, re
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue