http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/8924016bace93869427837c958da6b81be563383/test/unit_tests_d/ut_tx.py
. # See PEP 414 for more information. chk = chk.replace("'label':","'comment':") # TODO chk = re.subn( r"\bu(['\"])", r'\1', chk )[0] diff = get_ndiff(chk,text) print(get_diff(chk,text,from_json=False)) nLines = len([i for i in diff if i.startswith('-')]) assert nLines in (0,1), f'{nLines} lines differ: only checksum line may differ' qmsg(' OK') return True class unit_tests: altcoin_deps = ('txfile_alt',) async def tx(self,name,ut): qmsg(' Testing NewTX initializer') d = CoinDaemon( cfg, 'btc',...