File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 16
16
17
17
__metaclass__ = type
18
18
19
+ from ibm_zos_core .tests .helpers .dataset import (
20
+ get_random_q ,
21
+ )
19
22
# TEST_VOL_ADDR = '0903'
20
23
# TEST_VOL_SER = 'KET999'
21
24
TEST_VOL_ADDR = '01A2'
32
35
33
36
def test_guard_rail_and_setup (ansible_zos_module ):
34
37
hosts = ansible_zos_module
35
-
38
+ hlq = get_random_q ()
36
39
# remove all data sets from target volume. Expected to be the following 3
37
- hosts .all .zos_data_set (name = "IMSTESTL .IMS01.SPOOL1" , state = "absent" )
38
- hosts .all .zos_data_set (name = "IMSTESTL .IMS01.SPOOL2" , state = "absent" )
39
- hosts .all .zos_data_set (name = "IMSTESTL .IMS01.SPOOL3" , state = "absent" )
40
+ hosts .all .zos_data_set (name = "{0} .IMS01.SPOOL1" . format ( hlq ) , state = "absent" )
41
+ hosts .all .zos_data_set (name = "{0} .IMS01.SPOOL2" . format ( hlq ) , state = "absent" )
42
+ hosts .all .zos_data_set (name = "{0} .IMS01.SPOOL3" . format ( hlq ) , state = "absent" )
40
43
41
44
params = {
42
45
"address" :TEST_VOL_ADDR ,
You can’t perform that action at this time.
0 commit comments