management.tests.test_forms.test_backup

Test suite for the BackupOptionsForm.

Classes

BackupOptionsFormTest

Test suite for the BackupOptionsForm.

Module Contents

class management.tests.test_forms.test_backup.BackupOptionsFormTest(methodName='runTest')[source]

Bases: django.test.TestCase

Test suite for the BackupOptionsForm.

test_valid_form_with_password_auth()[source]

Test form validation with PASSWORD authentication.

test_valid_form_with_ssh_key_auth()[source]

Test form validation with SSH_KEY authentication.

test_missing_required_fields()[source]

Test form validation fails when required fields are missing.

test_password_auth_with_private_key()[source]

Test form validation fails when PASSWORD auth is used with a private key.

test_ssh_key_auth_with_password()[source]

Test form validation fails when SSH_KEY auth is used with a password.