Tenancy Object Entry Test Cases
Tests for checking TenancyObject
Attributes
model = None
Model to be tested
Functions
test_has_attr_get_organization()
TenancyObject attribute check
TenancyObject has function get_organization
test_has_attr_is_global()
TenancyObject attribute check
TenancyObject has field is_global
test_has_attr_model_notes()
TenancyObject attribute check
TenancyObject has field model_notes
test_create_no_organization_fails()
Devices must be assigned an organization
Must not be able to create an item without an organization
test_edit_no_organization_fails()
Devices must be assigned an organization
Must not be able to edit an item without an organization
test_has_attr_organization()
TenancyObject attribute check
TenancyObject has function objects
test_attribute_is_type_objects()
Attribute Check
attribute objects
must be set to access.models.TenancyManager()
About:
This page forms part of our Project Centurion ERP.
Page Metadata
Version: ToDo: place files short git commit hereDate Created: 2024-06-20
Date Edited: 2024-07-09
Contribution:
Would You like to contribute to our Centurion ERP project? You can assist in the following ways:
- Edit This Page If there is a mistake or a way you can improve it.
- Add a Page to the Manual if you would like to add an item to our manual
- Raise an Issue if there is something about this page you would like to improve, and git is unfamiliar to you.
ToDo: Add the page list of contributors