notifications.tests.conftest¶
Fixtures for the NotificationModel model and related functionality in the notifications app.
Functions¶
Use custom management command to create a test Issuing CA. |
|
|
Create a domain linked to the test issuing CA. |
|
Create a test device fixture. |
Create a NotificationMessageModel used for custom notifications. |
|
Create a notification status object. |
Module Contents¶
- notifications.tests.conftest.setup_test_issuing_ca()[source]¶
Use custom management command to create a test Issuing CA.
- Return type:
- notifications.tests.conftest.test_domain(setup_test_issuing_ca)[source]¶
Create a domain linked to the test issuing CA.
- Parameters:
setup_test_issuing_ca (pki.models.CaModel)
- Return type:
- notifications.tests.conftest.test_device(test_domain)[source]¶
Create a test device fixture.
- Parameters:
test_domain (pki.models.DomainModel)
- Return type:
- notifications.tests.conftest.test_message()[source]¶
Create a NotificationMessageModel used for custom notifications.
- Return type: