def __init__(self):
    'Sets test framework defaults. Do not override this method. Instead, override the set_test_params() method'
    self.setup_clean_chain = False
    self.nodes = []
    self.mocktime = 0
    self.rpc_timewait = 600
    self.supports_cli = False
    self.set_test_params()
    assert hasattr(self, 'num_nodes'), 'Test must set self.num_nodes in set_test_params()'
Sets test framework defaults. Do not override this method. Instead, override the set_test_params() method
def __init__(self):
    
    self.setup_clean_chain = False
    self.nodes = []
    self.mocktime = 0
    self.rpc_timewait = 600
    self.supports_cli = False
    self.set_test_params()
    assert hasattr(self, 'num_nodes'), 'Test must set self.num_nodes in set_test_params()'