minor testing fixes

This commit is contained in:
The MMGen Project 2024-07-06 14:05:53 +00:00
commit b1ad293bae
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
2 changed files with 5 additions and 5 deletions

View file

@ -201,9 +201,9 @@ class GenToolPycoin(GenTool):
super().__init__(*args,**kwargs)
try:
from pycoin.networks.registry import network_for_netcode
except Exception as e:
except ImportError as e:
raise ImportError(
'Unable to import pycoin.networks.registry. Is pycoin installed on your system?') from e
f'{e}\nUnable to import pycoin.networks.registry. Is pycoin installed on your system?') from e
self.nfnc = network_for_netcode
def run(self,sec,vcoin):
@ -233,9 +233,9 @@ class GenToolMonero_python(GenTool):
super().__init__(*args,**kwargs)
try:
from monero.seed import Seed
except Exception as e:
except ImportError as e:
raise ImportError(
'Unable to import monero-python. Is monero-python installed on your system?') from e
f'{e}\nUnable to import monero-python. Is monero-python installed on your system?') from e
self.Seed = Seed
def run(self,sec,vcoin):

View file

@ -180,7 +180,7 @@ if cfg.testing_status:
'addrfile_chksum','keyaddrfile_chksum','passwdfile_chksum',
'add_label','remove_label','remove_address','twview',
'getbalance','listaddresses','listaddress',
'daemon_version','decrypt_geth_keystore',
'daemon_version','decrypt_keystore','decrypt_geth_keystore',
'mn2hex_interactive','rand2file',
'rescan_address','rescan_blockchain','resolve_address',
'twexport','twimport','txhist'