# python3 ./tests/unittest3.py import setup import eosf import node import unittest from termcolor import cprint setup.set_verbose(True) setup.set_json(False) setup.use_keosd(False) CONTRACT_NAME = "_e4b2ffc804529ce9c6fae258197648cc2" class Test1(unittest.TestCase): def run(self, result=None): """ Stop after first error """ if not result.failures: super().run(result) @classmethod def setUpClass(cls): testnet = node.reset() assert (not testnet.error) wallet = eosf.Wallet() assert (not wallet.error) account_master = eosf.AccountMaster() wallet.import_key(account_master)
def setUpClass(cls): setup.set_verbose(True) setup.set_json(False) setup.use_keosd(False)