aoki.tests.test_management_commands

Tests for AOKI management commands.

Classes

TestAokiGenTestCertsCommand

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_command_help_text()[source]

Test that command has help text.

test_certificates_directory_created(tmp_path)[source]

Test that certificates directory is created if it doesn’t exist.

test_private_keys_are_valid(tmp_path)[source]

Test that generated private keys can be loaded.

test_idevid_has_subject_alternative_name(tmp_path)[source]

Test that IDevID certificate has a SAN extension.

test_owner_id_has_pseudonym(tmp_path)[source]

Test that Owner ID certificate has pseudonym attribute.