aoki.tests.test_management_commands¶
Tests for AOKI management commands.
Classes¶
Tests for aoki_gen_test_certs management command. |
Module Contents¶
- class aoki.tests.test_management_commands.TestAokiGenTestCertsCommand[source]¶
Tests for aoki_gen_test_certs management command.
- test_command_executes_successfully(tmp_path)[source]¶
Test that the command executes without errors.
- test_generated_certificates_are_valid(tmp_path)[source]¶
Test that generated certificates can be loaded and are valid.
- test_owner_id_cert_has_correct_san(tmp_path)[source]¶
Test that owner ID certificate has correct SAN URI.
- test_certificates_directory_created(tmp_path)[source]¶
Test that certificates directory is created if it doesn’t exist.