Changeset View
Changeset View
Standalone View
Standalone View
test/functional/example_test.py
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 3 | self.num_nodes = 3 | ||||
# Use self.extra_args to change command-line arguments for the nodes | # Use self.extra_args to change command-line arguments for the nodes | ||||
self.extra_args = [[], ["-logips"], []] | self.extra_args = [[], ["-logips"], []] | ||||
# self.log.info("I've finished set_test_params") # Oops! Can't run | # self.log.info("I've finished set_test_params") # Oops! Can't run | ||||
# self.log before run_test() | # self.log before run_test() | ||||
# Use skip_test_if_missing_module() to skip the test if your test requires certain modules to be present. | |||||
# This test uses generate which requires wallet to be compiled | |||||
def skip_test_if_missing_module(self): | def skip_test_if_missing_module(self): | ||||
self.skip_if_no_wallet() | self.skip_if_no_wallet() | ||||
# Use add_options() to add specific command-line options for your test. | # Use add_options() to add specific command-line options for your test. | ||||
# In practice this is not used very much, since the tests are mostly written | # In practice this is not used very much, since the tests are mostly written | ||||
# to be run in automated environments without command-line options. | # to be run in automated environments without command-line options. | ||||
# def add_options() | # def add_options() | ||||
# pass | # pass | ||||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |