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))
def f(): share = UnityNfsShare(cli=t_rest(), _id='NFSShare_7') share.delete_access(['9.9.9.9'])
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))
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))