1414
1515from openstackclient .identity .v3 import credential
1616from openstackclient .tests .identity .v3 import fakes as identity_fakes
17- from openstackclient .tests . utils import ParserException
17+ from openstackclient .tests import utils
1818
1919
2020class TestCredential (identity_fakes .TestIdentityv3 ):
@@ -55,7 +55,7 @@ def test_credential_set_no_options(self):
5555 identity_fakes .credential_id ,
5656 ]
5757
58- self .assertRaises (ParserException ,
58+ self .assertRaises (utils . ParserException ,
5959 self .check_parser , self .cmd , arglist , [])
6060
6161 def test_credential_set_missing_user (self ):
@@ -65,7 +65,7 @@ def test_credential_set_missing_user(self):
6565 identity_fakes .credential_id ,
6666 ]
6767
68- self .assertRaises (ParserException ,
68+ self .assertRaises (utils . ParserException ,
6969 self .check_parser , self .cmd , arglist , [])
7070
7171 def test_credential_set_missing_type (self ):
@@ -75,7 +75,7 @@ def test_credential_set_missing_type(self):
7575 identity_fakes .credential_id ,
7676 ]
7777
78- self .assertRaises (ParserException ,
78+ self .assertRaises (utils . ParserException ,
7979 self .check_parser , self .cmd , arglist , [])
8080
8181 def test_credential_set_missing_data (self ):
@@ -85,7 +85,7 @@ def test_credential_set_missing_data(self):
8585 identity_fakes .credential_id ,
8686 ]
8787
88- self .assertRaises (ParserException ,
88+ self .assertRaises (utils . ParserException ,
8989 self .check_parser , self .cmd , arglist , [])
9090
9191 def test_credential_set_valid (self ):
0 commit comments