management.tests.test_views.test_key_storage¶
Test suite for key_storage views.
Classes¶
Test suite for KeyStorageConfigView. |
Module Contents¶
- class management.tests.test_views.test_key_storage.KeyStorageConfigViewTest(methodName='runTest')[source]¶
Bases:
django.test.TestCaseTest suite for KeyStorageConfigView.
- test_get_context_data_with_software_config()[source]¶
Test get_context_data with KeyStorageConfig in software storage mode.
- test_get_context_data_with_softhsm_config()[source]¶
Test get_context_data with SoftHSM storage type.
- test_get_context_data_with_physical_hsm_config()[source]¶
Test get_context_data with physical HSM storage type.
- test_get_context_data_with_hsm_but_no_config_reference()[source]¶
Test get_context_data with HSM type but no hsm_config set.
- test_get_context_data_with_hsm_no_tokens_at_all()[source]¶
Test get_context_data with HSM type but no tokens in database.
- test_get_context_data_no_config_exists()[source]¶
Test get_context_data when no KeyStorageConfig exists.