File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33import json
44
55from pyTigerGraphUnitTest import make_connection
6- from pyTigerGraph import TigerGraphConnection , pyTigerGraphException
6+ from pyTigerGraph import TigerGraphConnection
7+ from pyTigerGraph .pyTigerGraphException import TigerGraphException
78
89
910class TestJWTTokenAuth (unittest .TestCase ):
@@ -43,7 +44,7 @@ def _requestJWTToken(self):
4344
4445
4546 def _test_jwtauth_3_9 (self ):
46- with self .assertRaises (pyTigerGraphException ) as context :
47+ with self .assertRaises (TigerGraphException ) as context :
4748 TigerGraphConnection (
4849 host = self .conn .host ,
4950 jwtToken = "fake.JWT.Token"
@@ -79,7 +80,7 @@ def _test_jwtauth_4_1_success(self):
7980
8081
8182 def _test_jwtauth_4_1_fail (self ):
82- with self .assertRaises (pyTigerGraphException ) as context :
83+ with self .assertRaises (TigerGraphException ) as context :
8384 TigerGraphConnection (
8485 host = self .conn .host ,
8586 jwtToken = "invalid.JWT.Token"
You can’t perform that action at this time.
0 commit comments