Added node builders tests to main test script

This commit is contained in:
Alberto Soutullo 2023-01-20 20:50:28 +01:00
parent 0306877d3d
commit 4ddaf9533e
1 changed files with 15 additions and 13 deletions

View File

@ -4,21 +4,23 @@ system_variables = import_module("github.com/logos-co/wakurtosis/src/system_vari
# Module Imports
args_parser_test = import_module(system_variables.TEST_ARGUMENTS_MODULE)
file_helpers_test = import_module(system_variables.TEST_FILES_MODULE)
node_builders_test = import_module(system_variables.TEST_NODE_BUILDERS_MODULE)
waku_test = import_module(system_variables.TEST_WAKU_MODULE)
def run(args):
args_parser_test.test_load_config_args_default()
args_parser_test.test_load_config_args_given()
def run(plan, args):
args_parser_test.test_load_config_args_default(plan)
args_parser_test.test_load_config_args_given(plan)
file_helpers_test.test_get_toml_configuration_artifact_same_config_true()
file_helpers_test.test_get_toml_configuration_artifact_same_config_false()
file_helpers_test.test_generate_template_node_targets_single()
file_helpers_test.test_generate_template_node_targets_multiple()
file_helpers_test.test_generate_template_prometheus_url()
file_helpers_test.test_prepare_artifact_files_grafana()
file_helpers_test.test_get_toml_configuration_artifact_same_config_true(plan)
file_helpers_test.test_get_toml_configuration_artifact_same_config_false(plan)
file_helpers_test.test_generate_template_node_targets_single(plan)
file_helpers_test.test_generate_template_node_targets_multiple(plan)
file_helpers_test.test_generate_template_prometheus_url(plan)
file_helpers_test.test_prepare_artifact_files_grafana(plan)
waku_test.test_network_creation()
waku_test.test_create_waku_id()
waku_test.test__merge_peer_ids()
waku_test.test__add_information()
node_builders_test.test_add_nwaku_service(plan)
node_builders_test.test_add_gowaku_service(plan)
node_builders_test.test_instantiate_services(plan)
waku_test.test_waku_methods(plan)