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.

43 test modules, 1134 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 72
Subscriptions & Notifications 5 203
Groups & Actions 3 80
Discovery, Requests & Expiration 4 108
Management, Location, Scheduling & Policies 7 249
Polling Channels 2 30
Remote CSE / Inter-CSE 4 54
Load & Miscellaneous 3 57
Total 43 1134