devices.tests.test_forms.test_browser_login

Test suite for validating the browser login functionality.

Functions

test_browser_login_form_valid(...)

Test the BrowserLoginForm with a valid OTP.

test_browser_login_form_invalid_otp_structure()

Test the BrowserLoginForm with an OTP that has an invalid structure.

test_browser_login_form_nonexistent_credential(...)

Test the BrowserLoginForm with a non-existent credential ID in the OTP.

test_browser_login_form_invalid_otp_value(...)

Test the BrowserLoginForm with an invalid OTP value.

test_browser_login_form_missing_otp()

Test the BrowserLoginForm with a missing OTP.

Module Contents

devices.tests.test_forms.test_browser_login.test_browser_login_form_valid(remote_device_credential_download_instance)[source]

Test the BrowserLoginForm with a valid OTP.

Parameters:

remote_device_credential_download_instance (dict[str, Any])

Return type:

None

devices.tests.test_forms.test_browser_login.test_browser_login_form_invalid_otp_structure()[source]

Test the BrowserLoginForm with an OTP that has an invalid structure.

Return type:

None

devices.tests.test_forms.test_browser_login.test_browser_login_form_nonexistent_credential(remote_device_credential_download_instance)[source]

Test the BrowserLoginForm with a non-existent credential ID in the OTP.

Parameters:

remote_device_credential_download_instance (dict[str, Any])

Return type:

None

devices.tests.test_forms.test_browser_login.test_browser_login_form_invalid_otp_value(remote_device_credential_download_instance)[source]

Test the BrowserLoginForm with an invalid OTP value.

Parameters:

remote_device_credential_download_instance (dict[str, Any])

Return type:

None

devices.tests.test_forms.test_browser_login.test_browser_login_form_missing_otp()[source]

Test the BrowserLoginForm with a missing OTP.

Return type:

None