Skip to content

Commit 8a61ea7

Browse files
committed
Update test_wrapper
1 parent 86b69ac commit 8a61ea7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_wrapper_handle.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -107,19 +107,19 @@ def prepare_remote_test(**kwargs):
107107
download_manager.relecov_sftp.close_connection()
108108

109109
print("Create Intermediate YML")
110-
conf_file = generate_config_yaml(
110+
conf_file = generate_config_yaml( # Generate the YAML config file
111111
kwargs["download_option"],
112112
kwargs["target_folders"],
113113
)
114114

115115
print("Initiating ProcessWrapper")
116-
wrapper_manager = ProcessWrapper(
116+
wrapper_manager = ProcessWrapper( # Initialize ProcessWrapper with the config file
117117
config_file=conf_file,
118118
output_folder=kwargs["output_location"],
119119
)
120120

121121
print("Update Wrapper params")
122-
wrapper_manager.download_params = {
122+
wrapper_manager.download_params = { # Set download parameters
123123
"user": os.environ["TEST_USER"],
124124
"passwd": os.environ["TEST_PASSWORD"],
125125
"download_option": kwargs["download_option"],
@@ -129,9 +129,9 @@ def prepare_remote_test(**kwargs):
129129
}
130130

131131
def test_wrapper(wrapper_manager):
132-
wrapper_manager.run_wrapper()
132+
wrapper_manager.run_wrapper() # Execute the wrapper process
133133

134-
test_wrapper(wrapper_manager)
134+
test_wrapper(wrapper_manager) # Run the wrapper function
135135

136136

137137
if __name__ == "__main__":

0 commit comments

Comments
 (0)