Skip to content

Commit c5ad401

Browse files
removed print statement
1 parent 666c2dd commit c5ad401

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/functional/modules/test_zos_data_set_func.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,6 @@ def test_data_set_delete_with_noscratch(ansible_zos_module, volumes_on_systems):
11901190
noscratch=True
11911191
)
11921192
for result in results.contacted.values():
1193-
print(result)
11941193
assert result.get("changed") is True
11951194
assert result.get("module_stderr") is None
11961195
# Assert 1: Verify the data set is GONE from the catalog.
@@ -1200,7 +1199,6 @@ def test_data_set_delete_with_noscratch(ansible_zos_module, volumes_on_systems):
12001199
state='absent',
12011200
)
12021201
for result in results.contacted.values():
1203-
print(result)
12041202
assert result.get("changed") is False
12051203
# catalog_check = hosts.all.command(f"dls '{dataset}'", failed_when=False)
12061204
# for result in catalog_check.contacted.values():
@@ -1217,8 +1215,7 @@ def test_data_set_delete_with_noscratch(ansible_zos_module, volumes_on_systems):
12171215
volumes=volume
12181216
)
12191217
for result in vtoc_check_and_delete.contacted.values():
1220-
# This assertion proves the data set existed on the volume's VTOC
1221-
print(result)
1218+
# This assertion proves the data set existed on the volume's VTOC.
12221219
assert result.get("changed") is True
12231220
finally:
12241221
# Cleanup: Perform a final, full delete from the volume since it's still there.
@@ -1263,26 +1260,22 @@ def test_batch_uncatalog_with_noscratch_suboption(ansible_zos_module, volumes_on
12631260
)
12641261
# # Assert on the main action results
12651262
for result in act_results.contacted.values():
1266-
print(result)
12671263
assert result.get("changed") is True
12681264
assert result.get("module_stderr") is None
12691265
results = hosts.all.zos_data_set(
12701266
name=dataset_1,
12711267
state='absent',
12721268
)
12731269
for result in results.contacted.values():
1274-
print(result)
12751270
assert result.get("changed") is False
12761271
for result in act_results.contacted.values():
1277-
print(result)
12781272
assert result.get("changed") is True
12791273
assert result.get("module_stderr") is None
12801274
results = hosts.all.zos_data_set(
12811275
name=dataset_2,
12821276
state='absent',
12831277
)
12841278
for result in results.contacted.values():
1285-
print(result)
12861279
assert result.get("changed") is False
12871280

12881281
# # --- Verification Assertions ---
@@ -1298,7 +1291,6 @@ def test_batch_uncatalog_with_noscratch_suboption(ansible_zos_module, volumes_on
12981291
)
12991292
for result in vtoc_check_and_delete.contacted.values():
13001293
# This assertion proves the data set existed on the volume's VTOC
1301-
print(result)
13021294
assert result.get("changed") is True
13031295

13041296
vtoc_check_and_delete = hosts.all.zos_data_set(
@@ -1308,8 +1300,6 @@ def test_batch_uncatalog_with_noscratch_suboption(ansible_zos_module, volumes_on
13081300
)
13091301
for result in vtoc_check_and_delete.contacted.values():
13101302
# This assertion proves the data set existed on the volume's VTOC
1311-
print(result)
1312-
13131303
assert result.get("changed") is True
13141304
finally:
13151305
# --- Cleanup ---

0 commit comments

Comments
 (0)