moo.core.tests

Unit and functional tests.

Modules

test_bootstrap_sync

Tests for the idempotent bootstrap sync system.

test_code

Comprehensive tests for moo/core/code.py

test_directions

test_exceptions

Tests for exception classes in moo/core/exceptions.py.

test_model_acl

Tests for moo/core/models/acl.py — Permission, Access, AccessibleMixin.

test_model_auth

Tests for moo/core/models/auth.py — Player.

test_model_object

Tests for moo/core/models/object.py — Object, Relationship, Alias, AncestorCache.

test_model_property

Tests for moo/core/models/property.py — Property.

test_model_verb

Tests for moo/core/models/verb.py — Verb, VerbName, Preposition, PrepositionName, PrepositionSpecifier, Repository.

test_moojson

Tests for moo/core/moojson.py — JSON encoding/decoding of MOO types.

test_multi_universe

Tests for multi-universe support via Django Sites.

test_object_lifecycle

test_parser

test_security_builtins

Security tests: restricted builtin functions.

test_security_context

Security tests: ContextManager state and invoke() guards.

test_security_imports

Security tests: import blocking and allowed-module return-value surfaces.

test_security_model_acl

Security tests: Access (ACL) and Repository model permission checks.

test_security_model_mail

Security tests: Message and MessageRecipient model permission checks.

test_security_model_object

Security tests: Object model permission checks.

test_security_model_property

Security tests: Property model permission checks.

test_security_model_verb

Security tests: Verb / VerbName / Alias model permission checks.

test_security_queryset

Security tests: QuerySet / RelatedManager access controls.

test_security_random

Security audit: random module

test_security_sandbox

Security tests: RestrictedPython write/read guards and string formatting.

test_tasks

utils

Shared helpers for moo.core tests.