Fix share-server-list functional test
Test 'test_shares_list_filter_by_share_server_as_user' performs wrong request. Make it perform proper request. Change-Id: I74c8dc0d09a3a11b084711a09d7bd827fc2c36d7
This commit is contained in:
parent
c36d1cd182
commit
5eae3b3053
|
@ -49,7 +49,8 @@ class ManilaClientTestSharesReadOnly(base.BaseTestCase):
|
||||||
self.assertRaises(
|
self.assertRaises(
|
||||||
exceptions.CommandFailed,
|
exceptions.CommandFailed,
|
||||||
self.clients['user'].manila,
|
self.clients['user'].manila,
|
||||||
'this-does-not-exist')
|
'list',
|
||||||
|
params='--share-server fake')
|
||||||
|
|
||||||
@ddt.data('admin', 'user')
|
@ddt.data('admin', 'user')
|
||||||
def test_shares_list_filter_by_project_id(self, role):
|
def test_shares_list_filter_by_project_id(self, role):
|
||||||
|
|
Loading…
Reference in New Issue