@@ -1190,7 +1190,6 @@ def test_data_set_delete_with_noscratch(ansible_zos_module, volumes_on_systems):
1190
1190
noscratch = True
1191
1191
)
1192
1192
for result in results .contacted .values ():
1193
- print (result )
1194
1193
assert result .get ("changed" ) is True
1195
1194
assert result .get ("module_stderr" ) is None
1196
1195
# 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):
1200
1199
state = 'absent' ,
1201
1200
)
1202
1201
for result in results .contacted .values ():
1203
- print (result )
1204
1202
assert result .get ("changed" ) is False
1205
1203
# catalog_check = hosts.all.command(f"dls '{dataset}'", failed_when=False)
1206
1204
# for result in catalog_check.contacted.values():
@@ -1217,8 +1215,7 @@ def test_data_set_delete_with_noscratch(ansible_zos_module, volumes_on_systems):
1217
1215
volumes = volume
1218
1216
)
1219
1217
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.
1222
1219
assert result .get ("changed" ) is True
1223
1220
finally :
1224
1221
# 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
1263
1260
)
1264
1261
# # Assert on the main action results
1265
1262
for result in act_results .contacted .values ():
1266
- print (result )
1267
1263
assert result .get ("changed" ) is True
1268
1264
assert result .get ("module_stderr" ) is None
1269
1265
results = hosts .all .zos_data_set (
1270
1266
name = dataset_1 ,
1271
1267
state = 'absent' ,
1272
1268
)
1273
1269
for result in results .contacted .values ():
1274
- print (result )
1275
1270
assert result .get ("changed" ) is False
1276
1271
for result in act_results .contacted .values ():
1277
- print (result )
1278
1272
assert result .get ("changed" ) is True
1279
1273
assert result .get ("module_stderr" ) is None
1280
1274
results = hosts .all .zos_data_set (
1281
1275
name = dataset_2 ,
1282
1276
state = 'absent' ,
1283
1277
)
1284
1278
for result in results .contacted .values ():
1285
- print (result )
1286
1279
assert result .get ("changed" ) is False
1287
1280
1288
1281
# # --- Verification Assertions ---
@@ -1298,7 +1291,6 @@ def test_batch_uncatalog_with_noscratch_suboption(ansible_zos_module, volumes_on
1298
1291
)
1299
1292
for result in vtoc_check_and_delete .contacted .values ():
1300
1293
# This assertion proves the data set existed on the volume's VTOC
1301
- print (result )
1302
1294
assert result .get ("changed" ) is True
1303
1295
1304
1296
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
1308
1300
)
1309
1301
for result in vtoc_check_and_delete .contacted .values ():
1310
1302
# This assertion proves the data set existed on the volume's VTOC
1311
- print (result )
1312
-
1313
1303
assert result .get ("changed" ) is True
1314
1304
finally :
1315
1305
# --- Cleanup ---
0 commit comments