예제 #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))
예제 #2
0
파일: test_host.py 프로젝트: crook/storops
 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))
예제 #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))
예제 #4
0
파일: test_host.py 프로젝트: crook/storops
 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))