moo.core.tests
Unit and functional tests.
Modules
Tests for the account model (spec 200, item G). |
|
Tests for the action audit log (spec 200, item L). |
|
Tests for the idempotent bootstrap sync system. |
|
Comprehensive tests for moo/core/code.py |
|
Tests for the escape guarantee + connectivity guard (spec 200, item M). |
|
Tests for exception classes in moo/core/exceptions.py. |
|
Tests for indexed external-key get-or-create (spec 200, item B). |
|
Tests for moo/core/models/acl.py — Permission, Access, AccessibleMixin. |
|
Tests for moo/core/models/auth.py — Player. |
|
Tests for moo/core/models/object.py — Object, Relationship, Alias, AncestorCache. |
|
Tests for moo/core/models/property.py — Property. |
|
Tests for moo/core/models/verb.py — Verb, VerbName, Preposition, PrepositionName, PrepositionSpecifier, Repository. |
|
Tests for the suspend/ban sanction primitives (spec 200, item H). |
|
Tests for moo/core/moojson.py — JSON encoding/decoding of MOO types. |
|
Tests for multi-universe support via Django Sites. |
|
Tests for the guest tier (I) and registration gate (J) — spec 200. |
|
Tests for always-on provenance and tagged output (spec 200, item E). |
|
Tests for the per-account broadcast flood limit (spec 200, item F). |
|
Sentinel tests: every public attribute on the sandbox-exposed models must be classified for read-ACL enforcement. |
|
Security tests: restricted builtin functions. |
|
Security tests: ContextManager state and invoke() guards. |
|
Security tests: import blocking and allowed-module return-value surfaces. |
|
Security tests: Access (ACL) and Repository model permission checks. |
|
Security tests: Message and MessageRecipient model permission checks. |
|
Security tests: Object model permission checks. |
|
Security tests: Property model permission checks. |
|
Security tests: Verb / VerbName / Alias model permission checks. |
|
Security tests: QuerySet / RelatedManager access controls. |
|
Security tests: queryset-level wizard guards. |
|
Security audit: random module |
|
Security tests: RestrictedPython write/read guards and string formatting. |
|
Security tests: sandbox traversal across Django relations. |
|
Tests for non-destructive recovery: soft-delete / restore (spec 200, item K). |
|
Tests for the per-task loop/tick budget (spec 200, item N). |
|
Shared helpers for moo.core tests. |