@@ -26,7 +26,7 @@ def _validate_claims(self, payload):
26
26
assert_is_not_none (payload ['grants' ])
27
27
28
28
def test_empty_grants (self ):
29
- scat = AccessToken (SIGNING_KEY_SID , ACCOUNT_SID , 'secret' )
29
+ scat = AccessToken (ACCOUNT_SID , SIGNING_KEY_SID , 'secret' )
30
30
token = str (scat )
31
31
32
32
assert_is_not_none (token )
@@ -35,7 +35,7 @@ def test_empty_grants(self):
35
35
assert_equal ({}, payload ['grants' ])
36
36
37
37
def test_conversations_grant (self ):
38
- scat = AccessToken (SIGNING_KEY_SID , ACCOUNT_SID , 'secret' )
38
+ scat = AccessToken (ACCOUNT_SID , SIGNING_KEY_SID , 'secret' )
39
39
scat .add_grant (ConversationGrant ())
40
40
41
41
token = str (scat )
@@ -46,7 +46,7 @@ def test_conversations_grant(self):
46
46
assert_equal ({}, payload ['grants' ]['rtc' ])
47
47
48
48
def test_ip_messaging_grant (self ):
49
- scat = AccessToken (SIGNING_KEY_SID , ACCOUNT_SID , 'secret' )
49
+ scat = AccessToken (ACCOUNT_SID , SIGNING_KEY_SID , 'secret' )
50
50
scat .add_grant (IpMessagingGrant ())
51
51
52
52
token = str (scat )
@@ -57,7 +57,7 @@ def test_ip_messaging_grant(self):
57
57
assert_equal ({}, payload ['grants' ]['ip_messaging' ])
58
58
59
59
def test_grants (self ):
60
- scat = AccessToken (SIGNING_KEY_SID , ACCOUNT_SID , 'secret' )
60
+ scat = AccessToken (ACCOUNT_SID , SIGNING_KEY_SID , 'secret' )
61
61
scat .add_grant (ConversationGrant ())
62
62
scat .add_grant (IpMessagingGrant ())
63
63
0 commit comments