@@ -627,7 +627,7 @@ def test_get_accounts(self):
627
627
sys .version_info [0 ] >= 3 and sys .version_info [1 ] >= 2 ,
628
628
"assertWarns() is only available in Python 3.2+" )
629
629
class TestClientCredentialGrant (unittest .TestCase ):
630
- def _test_certain_authority_should_emit_warnning (self , authority ):
630
+ def _test_certain_authority_should_emit_warning (self , authority ):
631
631
app = ConfidentialClientApplication (
632
632
"client_id" , client_credential = "secret" , authority = authority )
633
633
def mock_post (url , headers = None , * args , ** kwargs ):
@@ -636,12 +636,12 @@ def mock_post(url, headers=None, *args, **kwargs):
636
636
with self .assertWarns (DeprecationWarning ):
637
637
app .acquire_token_for_client (["scope" ], post = mock_post )
638
638
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 (
641
641
authority = "https://login.microsoftonline.com/common" )
642
642
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 (
645
645
authority = "https://login.microsoftonline.com/organizations" )
646
646
647
647
0 commit comments