request.tests.test_authenticationΒΆ
Unit tests for authentication components.
ClassesΒΆ
Test cases for UsernamePasswordAuthentication. |
|
Test cases for ClientCertificateAuthentication. |
Module ContentsΒΆ
- class request.tests.test_authentication.TestUsernamePasswordAuthentication[source]ΒΆ
Test cases for UsernamePasswordAuthentication.
- test_authenticate_success(est_device_without_onboarding)[source]ΒΆ
Test successful username/password authentication.
- test_authenticate_invalid_password(device_instance)[source]ΒΆ
Test authentication with invalid password.
- test_authenticate_invalid_username(est_device_without_onboarding)[source]ΒΆ
Test authentication with invalid username.
- class request.tests.test_authentication.TestClientCertificateAuthentication[source]ΒΆ
Test cases for ClientCertificateAuthentication.
- test_authenticate_success(domain_credential_est_onboarding)[source]ΒΆ
Test successful client certificate authentication.
- test_authenticate_credential_not_found()[source]ΒΆ
Test authentication when credential is not found.