Fix compatibility with tempest project

Cli tempest test that tests answer for nonexistent
command fails due to change in tempest, see:
7a2cf01f8b

Made same changes for manila test.

Change-Id: Ic863c1f232f17b04a8a914ee01dc14e84a458806
This commit is contained in:
Valeriy Ponomaryov 2014-07-23 08:49:05 +03:00
parent 0b382f186b
commit 2a0890e358

View File

@ -37,7 +37,7 @@ class SimpleReadOnlyManilaClientTest(manilaclient.ClientTestBase):
raise cls.skipException("Manila not available")
def test_manila_fake_action(self):
self.assertRaises(subprocess.CalledProcessError,
self.assertRaises(manilaclient.cli.CommandFailed,
self.manila, 'this-does-not-exist')
def test_manila_absolute_limit_list(self):