Skip to content

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 here
Date 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:

 

ToDo: Add the page list of contributors