Skip to content

Commit 97bc277

Browse files
authored
Merge pull request #588 from musicinmybrain/warnning
Fix typo in test names (warnning → warning)
2 parents cc8a8af + fa2e700 commit 97bc277

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_application.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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+")
629629
class 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

Comments
 (0)