Ejemplo n.º 1
0
 def test_delete_access_snap_share(self):
     share = UnityNfsShare(cli=t_rest(), _id='NFSShare_31')
     resp = share.delete_access(['1.1.1.1', '1.1.1.3'])
     assert_that(resp.is_ok(), equal_to(True))
Ejemplo n.º 2
0
 def f():
     share = UnityNfsShare(cli=t_rest(), _id='NFSShare_7')
     share.delete_access(['9.9.9.9'])
Ejemplo n.º 3
0
 def test_delete_access_host_not_found(self):
     share = UnityNfsShare(cli=t_rest(), _id='NFSShare_4')
     resp = share.delete_access(['Host_99'])
     assert_that(resp.is_ok(), equal_to(True))
Ejemplo n.º 4
0
 def test_delete_access_success(self):
     share = UnityNfsShare(cli=t_rest(), _id='NFSShare_7')
     resp = share.delete_access(['Host_1', 'Host_14', 'Host_15'])
     assert_that(resp.is_ok(), equal_to(True))
Ejemplo n.º 5
0
 def test_delete_access_snap_share(self):
     share = UnityNfsShare(cli=t_rest(), _id='NFSShare_31')
     resp = share.delete_access(['1.1.1.1', '1.1.1.3'])
     assert_that(resp.is_ok(), equal_to(True))
Ejemplo n.º 6
0
 def test_delete_access_host_not_found(self):
     share = UnityNfsShare(cli=t_rest(), _id='NFSShare_4')
     resp = share.delete_access(['Host_99'])
     assert_that(resp.is_ok(), equal_to(True))
Ejemplo n.º 7
0
 def f():
     share = UnityNfsShare(cli=t_rest(), _id='NFSShare_7')
     share.delete_access(['9.9.9.9'])
Ejemplo n.º 8
0
 def test_delete_access_success(self):
     share = UnityNfsShare(cli=t_rest(), _id='NFSShare_7')
     resp = share.delete_access(['Host_1', 'Host_14', 'Host_15'])
     assert_that(resp.is_ok(), equal_to(True))