Monero
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
functional_tests_rpc.py File Reference

Namespaces

namespace  functional_tests_rpc
 

Functions

 functional_tests_rpc.kill ()
 

Variables

str functional_tests_rpc.USAGE = 'usage: functional_tests_rpc.py <python> <srcdir> <builddir> [<tests-to-run> | all]'
 
list functional_tests_rpc.DEFAULT_TESTS = ['address_book', 'bans', 'blockchain', 'cold_signing', 'daemon_info', 'get_output_distribution', 'integrated_address', 'mining', 'multisig', 'p2p', 'proofs', 'rpc_payment', 'sign_message', 'transfer', 'txpool', 'uri', 'validate_address', 'wallet']
 
 functional_tests_rpc.python = sys.argv[1]
 
 functional_tests_rpc.srcdir = sys.argv[2]
 
 functional_tests_rpc.builddir = sys.argv[3]
 
 functional_tests_rpc.tests = sys.argv[4:]
 
int functional_tests_rpc.N_MONERODS = 4
 
int functional_tests_rpc.N_WALLETS = 6
 
str functional_tests_rpc.WALLET_DIRECTORY = builddir + "/functional-tests-directory"
 
str functional_tests_rpc.FUNCTIONAL_TESTS_DIRECTORY = builddir + "/tests/functional_tests"
 
int functional_tests_rpc.DIFFICULTY = 10
 
list functional_tests_rpc.monerod_base = [builddir + "/bin/monerod", "--regtest", "--fixed-difficulty", str(DIFFICULTY), "--no-igd", "--p2p-bind-port", "monerod_p2p_port", "--rpc-bind-port", "monerod_rpc_port", "--zmq-rpc-bind-port", "monerod_zmq_port", "--zmq-pub", "monerod_zmq_pub", "--non-interactive", "--disable-dns-checkpoints", "--check-updates", "disabled", "--rpc-ssl", "disabled", "--data-dir", "monerod_data_dir", "--log-level", "1", "--rpc-max-connections-per-private-ip", "100", "--rpc-max-connections", "100"]
 
list functional_tests_rpc.monerod_extra
 
list functional_tests_rpc.wallet_base = [builddir + "/bin/monero-wallet-rpc", "--wallet-dir", WALLET_DIRECTORY, "--rpc-bind-port", "wallet_port", "--disable-rpc-login", "--rpc-ssl", "disabled", "--daemon-ssl", "disabled", "--log-level", "1", "--allow-mismatched-daemon-version"]
 
list functional_tests_rpc.wallet_extra
 
list functional_tests_rpc.command_lines = []
 
list functional_tests_rpc.processes = []
 
list functional_tests_rpc.outputs = []
 
list functional_tests_rpc.ports = []
 
str functional_tests_rpc.PYTHONPATH = os.environ['PYTHONPATH'] if 'PYTHONPATH' in os.environ else ''
 
bool functional_tests_rpc.all_open = True
 
 functional_tests_rpc.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 
list functional_tests_rpc.PASS = []
 
list functional_tests_rpc.FAIL = []
 
list functional_tests_rpc.cmd = [python, srcdir + '/' + test + ".py"]
 
int functional_tests_rpc.n_returncode = 0