Skip to content

Unit Test Reference

This section catalogs all unit tests in the tests/ directory of the ACME oneM2M CSE repository (files matching test*.py). For each test, the Requests Performed column describes the actual CRUD/NOTIFY operations, target resources, and expected response codes exercised — derived directly from the test source, not just the docstring.

48 test modules, 1174 individual test cases, grouped below by functional area.

Area Modules Tests
Core CSE & Registration 4 70
Resource Tree: Containers & Data 9 211
Access Control & Security 2 88
Subscriptions & Notifications 5 203
Groups & Actions 3 80
Discovery, Requests & Expiration 4 108
Management, Location, Scheduling & Policies 10 266
Polling Channels 2 30
Remote CSE / Inter-CSE 5 58
Load & Miscellaneous 4 60
Total 48 1174