tests.tlstests.test_jwt_init
JWT init tests
Module Contents
Functions
|
Create fresh datadirs and set the environments |
Test that default env has copied tilauspalvelu key |
|
|
Check tnat the checking functions return False |
|
Test keypair create |
|
Test keypair create |
|
Test that we can use JWTs issued by RASENMAEHER itself |
Attributes
- empty_datadirs(nice_tmpdir, monkeypatch)[source]
Create fresh datadirs and set the environments
- Parameters:
nice_tmpdir (str)
monkeypatch (pytest.MonkeyPatch)
- Return type:
Generator[Tuple[pathlib.Path, pathlib.Path], None, None]
- test_tilaupalvelu_key()[source]
Test that default env has copied tilauspalvelu key
- Return type:
None
- test_empty_response(empty_datadirs)[source]
Check tnat the checking functions return False
- Parameters:
empty_datadirs (Tuple[pathlib.Path, pathlib.Path])
- Return type:
None
- async test_create(empty_datadirs)[source]
Test keypair create
- Parameters:
empty_datadirs (Tuple[pathlib.Path, pathlib.Path])
- Return type:
None
- async test_create_password(empty_datadirs, monkeypatch)[source]
Test keypair create
- Parameters:
empty_datadirs (Tuple[pathlib.Path, pathlib.Path])
monkeypatch (pytest.MonkeyPatch)
- Return type:
None