Skip to content

Commit

Permalink
Update test names
Browse files Browse the repository at this point in the history
  • Loading branch information
stveit committed May 24, 2023
1 parent 149183a commit c856028
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unittests/jwtconf_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class TestJWTConf(TestCase):
def setUp(self):
pass

def test_valid_jwks_config_should_pass(self):
def test_issuer_settings_include_valid_jwks_issuer(self):
config = u"""
[jwks-issuer]
keytype=JWKS
Expand All @@ -32,7 +32,7 @@ def read_file_patch(self, file):
settings = jwtconf.get_issuers_setting()
self.assertEqual(settings['jwks-issuer'], expected_settings)

def test_valid_pem_config_should_pass(self):
def test_issuer_settings_include_valid_pem_issuer(self):
config = u"""
[pem-issuer]
keytype=PEM
Expand All @@ -57,7 +57,7 @@ def read_file_patch(self, file):
settings = jwtconf.get_issuers_setting()
self.assertEqual(settings['pem-issuer'], expected_settings)

def test_valid_local_config_should_pass(self):
def test_issuer_settings_include_valid_local_issuer(self):
config = u"""
[nav]
private_key=key
Expand All @@ -83,7 +83,7 @@ def read_file_patch(self, file):
settings = jwtconf.get_issuers_setting()
self.assertEqual(settings['nav'], expected_settings)

def test_invalid_config_for_interal_tokens_should_return_empty_dict(self):
def test_invalid_config_for_internal_tokens_should_return_empty_dict(self):
config = u"""
[wrong-section-name]
private_key=key
Expand Down

0 comments on commit c856028

Please sign in to comment.