2023-01-09 22:27:56 +00:00
|
|
|
# System Imports
|
2023-02-12 00:57:27 +00:00
|
|
|
vars = import_module("github.com/logos-co/wakurtosis/src/system_variables.star")
|
2023-01-09 22:27:56 +00:00
|
|
|
|
2023-01-11 20:03:18 +00:00
|
|
|
# Module Imports
|
2023-02-12 00:57:27 +00:00
|
|
|
args_parser_test = import_module(vars.TEST_ARGUMENTS_MODULE)
|
|
|
|
file_helpers_test = import_module(vars.TEST_FILES_MODULE)
|
|
|
|
waku_test = import_module(vars.TEST_WAKU_MODULE)
|
2023-03-08 17:25:21 +00:00
|
|
|
node_builders_test = import_module(vars.TEST_NODE_BUILDERS_MODULE)
|
|
|
|
waku_builder_test = import_module(vars.TEST_WAKU_BUILDER_MODULE)
|
|
|
|
gowaku_builder_test = import_module(vars.TEST_GOWAKU_BUILDER_MODULE)
|
|
|
|
nwaku_builder_test = import_module(vars.TEST_NWAKU_BUILDER_MODULE)
|
|
|
|
|
2023-01-09 22:27:56 +00:00
|
|
|
|
|
|
|
|
2023-01-20 19:50:28 +00:00
|
|
|
def run(plan, args):
|
|
|
|
args_parser_test.test_load_config_args_default(plan)
|
|
|
|
args_parser_test.test_load_config_args_given(plan)
|
2023-01-09 22:27:56 +00:00
|
|
|
|
2023-01-20 19:50:28 +00:00
|
|
|
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)
|
2023-01-09 22:27:56 +00:00
|
|
|
|
2023-03-08 17:25:21 +00:00
|
|
|
waku_test.test_waku_methods(plan)
|
|
|
|
|
2023-01-20 19:50:28 +00:00
|
|
|
node_builders_test.test_instantiate_services(plan)
|
|
|
|
|
2023-03-08 17:25:21 +00:00
|
|
|
waku_builder_test.test_prepare_waku_ports_in_service(plan)
|
|
|
|
|
|
|
|
waku_builder_test.test_prepare_waku_config_files_in_service(plan)
|
|
|
|
waku_builder_test.test_add_waku_ports_info_to_topology(plan)
|
|
|
|
|
|
|
|
|
|
|
|
gowaku_builder_test.test_prepare_gowaku_service(plan)
|
|
|
|
gowaku_builder_test.test__prepare_gowaku_cmd_in_service(plan)
|
|
|
|
|
|
|
|
nwaku_builder_test.test_prepare_nwaku_service(plan)
|
|
|
|
nwaku_builder_test.test__prepare_nwaku_cmd_in_service(plan)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|