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))
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))