diff options
| author | Sean Perry <sean.perry@hpe.com> | 2015-11-04 09:50:37 -0800 |
|---|---|---|
| committer | Sean Perry <sean.perry@hpe.com> | 2015-11-04 09:51:58 -0800 |
| commit | c49c9df10590dce70e5384357ca1249f209cb509 (patch) | |
| tree | 80048352704cdb0cf1ed00e61d0af6d10802a2ec /openstackclient/tests | |
| parent | 266ecf57f508b7dab2e005aecff9dc66bb81a6d1 (diff) | |
| download | python-openstackclient-c49c9df10590dce70e5384357ca1249f209cb509.tar.gz | |
Import the module not the class
As requested during review 226922.
Change-Id: Ic5222141e247ce33cf5dbee66667cee3040e1cc3
Diffstat (limited to 'openstackclient/tests')
| -rw-r--r-- | openstackclient/tests/identity/v3/test_credential.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/openstackclient/tests/identity/v3/test_credential.py b/openstackclient/tests/identity/v3/test_credential.py index 5adcf7fa..e2e690c3 100644 --- a/openstackclient/tests/identity/v3/test_credential.py +++ b/openstackclient/tests/identity/v3/test_credential.py @@ -14,7 +14,7 @@ import json from openstackclient.identity.v3 import credential from openstackclient.tests.identity.v3 import fakes as identity_fakes -from openstackclient.tests.utils import ParserException +from openstackclient.tests import utils class TestCredential(identity_fakes.TestIdentityv3): @@ -55,7 +55,7 @@ class TestCredentialSet(TestCredential): identity_fakes.credential_id, ] - self.assertRaises(ParserException, + self.assertRaises(utils.ParserException, self.check_parser, self.cmd, arglist, []) def test_credential_set_missing_user(self): @@ -65,7 +65,7 @@ class TestCredentialSet(TestCredential): identity_fakes.credential_id, ] - self.assertRaises(ParserException, + self.assertRaises(utils.ParserException, self.check_parser, self.cmd, arglist, []) def test_credential_set_missing_type(self): @@ -75,7 +75,7 @@ class TestCredentialSet(TestCredential): identity_fakes.credential_id, ] - self.assertRaises(ParserException, + self.assertRaises(utils.ParserException, self.check_parser, self.cmd, arglist, []) def test_credential_set_missing_data(self): @@ -85,7 +85,7 @@ class TestCredentialSet(TestCredential): identity_fakes.credential_id, ] - self.assertRaises(ParserException, + self.assertRaises(utils.ParserException, self.check_parser, self.cmd, arglist, []) def test_credential_set_valid(self): |
