test_device_views_extendedΒΆ
Extended tests for device views to increase coverage.
ClassesΒΆ
Test sorting functionality in device table view. |
|
Test PKI protocol display in device table view. |
|
Test NoOnboardingIssueNewApplicationCredentialView. |
|
Test OPC UA GDS version of NoOnboardingIssueNewApplicationCredentialView. |
|
Test CLM view with different onboarding protocols. |
|
Test POST requests with invalid data. |
|
Test device creation with duplicate names. |
|
Test OPC UA GDS specific view functionality. |
|
Test OPC UA GDS Push specific view functionality. |
Module ContentsΒΆ
- class test_device_views_extended.TestDeviceTableViewSorting[source]ΒΆ
Test sorting functionality in device table view.
- class test_device_views_extended.TestDeviceTableViewPkiProtocols[source]ΒΆ
Test PKI protocol display in device table view.
- class test_device_views_extended.TestNoOnboardingIssueApplicationCredentialView[source]ΒΆ
Test NoOnboardingIssueNewApplicationCredentialView.
- test_get_issue_credential_view_success(admin_client, domain_instance)[source]ΒΆ
Test GET request to issue credential view with valid device.
- Parameters:
admin_client (django.test.Client)
domain_instance (dict[str, Any])
- Return type:
None
- test_get_issue_credential_view_device_with_onboarding(admin_client, device_instance_onboarding)[source]ΒΆ
Test that device with onboarding config redirects with warning.
- Parameters:
admin_client (django.test.Client)
device_instance_onboarding (dict[str, Any])
- Return type:
None
- class test_device_views_extended.TestOpcUaGdsNoOnboardingIssueApplicationCredentialView[source]ΒΆ
Test OPC UA GDS version of NoOnboardingIssueNewApplicationCredentialView.
- class test_device_views_extended.TestCLMViewWithOnboarding[source]ΒΆ
Test CLM view with different onboarding protocols.
- class test_device_views_extended.TestDeviceCreatePostInvalid[source]ΒΆ
Test POST requests with invalid data.
- class test_device_views_extended.TestDeviceCreateDuplicateName[source]ΒΆ
Test device creation with duplicate names.
- class test_device_views_extended.TestOpcUaGdsViews[source]ΒΆ
Test OPC UA GDS specific view functionality.
- class test_device_views_extended.TestOpcUaGdsPushViews[source]ΒΆ
Test OPC UA GDS Push specific view functionality.