Example #1
0
 def test_has_alu_false(self):
     host = UnityHost(cli=t_rest(), _id='Host_10')
     lun2 = UnityLun(cli=t_rest(), _id="sv_4")
     has = host.has_alu(lun2)
     assert_that(has, equal_to(False))
Example #2
0
 def test_has_alu_false(self):
     host = UnityHost(cli=t_rest(), _id='Host_10')
     lun2 = UnityLun(cli=t_rest(), _id="sv_4")
     has = host.has_alu(lun2)
     assert_that(has, equal_to(False))
Example #3
0
 def test_has_alu_true(self):
     host = UnityHost(cli=t_rest(), _id='Host_10')
     lun1 = UnityLun(cli=t_rest(), _id="sv_2")
     has = host.has_alu(lun1)
     assert_that(has, equal_to(True))
Example #4
0
 def test_has_alu_true(self):
     host = UnityHost(cli=t_rest(), _id='Host_10')
     lun1 = UnityLun(cli=t_rest(), _id="sv_2")
     has = host.has_alu(lun1)
     assert_that(has, equal_to(True))