Skip to content

Commit

Permalink
test the token signature key code block runs
Browse files Browse the repository at this point in the history
  • Loading branch information
gordon pendleton committed Apr 18, 2018
1 parent 75934c6 commit 551b9a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions allauth_adfs/socialaccount/providers/adfs_oauth2/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,5 +215,9 @@ def test_access_token_url(self):
expected = "https://%s/adfs/oauth2/token" % ADFS_SERVER_FQDN
self.assertEquals(self.adapter.access_token_url, expected)

def test_token_signature_key(self):
# this varies, but confirm we get a truthy value and the code runs
self.assertTrue(self.adapter.token_signature_key)

def test_federation_metadata_xml(self):
self.assertTrue(self.adapter.federation_metadata_xml)

0 comments on commit 551b9a7

Please sign in to comment.