@@ -627,7 +627,7 @@ def test_get_accounts(self):
627627 sys .version_info [0 ] >= 3 and sys .version_info [1 ] >= 2 ,
628628 "assertWarns() is only available in Python 3.2+" )
629629class TestClientCredentialGrant (unittest .TestCase ):
630- def _test_certain_authority_should_emit_warnning (self , authority ):
630+ def _test_certain_authority_should_emit_warning (self , authority ):
631631 app = ConfidentialClientApplication (
632632 "client_id" , client_credential = "secret" , authority = authority )
633633 def mock_post (url , headers = None , * args , ** kwargs ):
@@ -636,12 +636,12 @@ def mock_post(url, headers=None, *args, **kwargs):
636636 with self .assertWarns (DeprecationWarning ):
637637 app .acquire_token_for_client (["scope" ], post = mock_post )
638638
639- def test_common_authority_should_emit_warnning (self ):
640- self ._test_certain_authority_should_emit_warnning (
639+ def test_common_authority_should_emit_warning (self ):
640+ self ._test_certain_authority_should_emit_warning (
641641 authority = "https://login.microsoftonline.com/common" )
642642
643- def test_organizations_authority_should_emit_warnning (self ):
644- self ._test_certain_authority_should_emit_warnning (
643+ def test_organizations_authority_should_emit_warning (self ):
644+ self ._test_certain_authority_should_emit_warning (
645645 authority = "https://login.microsoftonline.com/organizations" )
646646
647647
0 commit comments