From 2a0890e3580f0cf1e7578c1f59eef55431ef0c65 Mon Sep 17 00:00:00 2001 From: Valeriy Ponomaryov Date: Wed, 23 Jul 2014 08:49:05 +0300 Subject: [PATCH] Fix compatibility with tempest project Cli tempest test that tests answer for nonexistent command fails due to change in tempest, see: https://github.com/openstack/tempest/commit/7a2cf01f8b629c5b40def151780ddadb6d9d3416 Made same changes for manila test. Change-Id: Ic863c1f232f17b04a8a914ee01dc14e84a458806 --- contrib/tempest/tempest/cli/simple_read_only/test_manila.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/tempest/tempest/cli/simple_read_only/test_manila.py b/contrib/tempest/tempest/cli/simple_read_only/test_manila.py index 8501c215c6..0605e618d0 100644 --- a/contrib/tempest/tempest/cli/simple_read_only/test_manila.py +++ b/contrib/tempest/tempest/cli/simple_read_only/test_manila.py @@ -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):