devices.tests.test_forms.test_credential_download_formยถ
Test suite for validating the CredentialDownloadForm.
Functionsยถ
|
Test the form's validation logic for password matching and length. |
Test that the form raises errors when fields are empty. |
Module Contentsยถ
- devices.tests.test_forms.test_credential_download_form.test_credential_download_form_clean(password, confirm_password, expected_errors)[source]ยถ
Test the formโs validation logic for password matching and length.
- Parameters:
password (str)
confirm_password (str)
expected_errors (dict[str, list[str]])
- Return type:
None