"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "manila/tests/share/drivers/dell_emc/plugins/unity/test_client.py" between
manila-8.1.2.tar.gz and manila-8.1.3.tar.gz

About: OpenStack Manila provides “Shared Filesystems as a service”.
The "Stein" series (maintained release).

test_client.py  (manila-8.1.2):test_client.py  (manila-8.1.3)
skipping to change at line 163 skipping to change at line 163
self.assertEqual(dest_snap.name, new_snap.name) self.assertEqual(dest_snap.name, new_snap.name)
@res_mock.mock_client_input @res_mock.mock_client_input
@res_mock.patch_client @res_mock.patch_client
def test_delete_snapshot__nonexistent_expt(self, client, mocked_input): def test_delete_snapshot__nonexistent_expt(self, client, mocked_input):
snapshot = mocked_input['snapshot'] snapshot = mocked_input['snapshot']
client.delete_snapshot(snapshot) client.delete_snapshot(snapshot)
@res_mock.patch_client @res_mock.patch_client
def test_cifs_deny_access__nonexistentuser_expt(self, client):
try:
client.cifs_deny_access('fake_share_name', 'fake_username')
except fake_exceptions.UnityAclUserNotFoundError:
self.fail("UnityAclUserNotFoundError raised unexpectedly!")
@res_mock.patch_client
def test_nfs_deny_access__nonexistent_expt(self, client): def test_nfs_deny_access__nonexistent_expt(self, client):
client.nfs_deny_access('fake_share_name', 'fake_ip_addr') client.nfs_deny_access('fake_share_name', 'fake_ip_addr')
@res_mock.patch_client @res_mock.patch_client
def test_get_storage_processor(self, client): def test_get_storage_processor(self, client):
sp = client.get_storage_processor(sp_id='SPA') sp = client.get_storage_processor(sp_id='SPA')
self.assertEqual('SPA', sp.name) self.assertEqual('SPA', sp.name)
@res_mock.mock_client_input @res_mock.mock_client_input
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)