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:
vponomaryov 2015-01-14 17:45:42 +02:00 committed by Valeriy Ponomaryov
parent c36d1cd182
commit 5eae3b3053
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ class ManilaClientTestSharesReadOnly(base.BaseTestCase):
self.assertRaises(
exceptions.CommandFailed,
self.clients['user'].manila,
'this-does-not-exist')
'list',
params='--share-server fake')
@ddt.data('admin', 'user')
def test_shares_list_filter_by_project_id(self, role):