Files
timmy-academy/tests/commands/__init__.py
Timmy Agent 1e6527b023 test: Add comprehensive unit test suite for typeclasses and commands
Issue #8 — No unit tests for typeclasses or commands

- Add pytest configuration via pyproject.toml
- Add conftest.py with Evennia mocking fixtures
- Add tests/typeclasses/test_audited_character.py — full AuditedCharacter test coverage
- Add tests/typeclasses/test_rooms_exits.py — structural Room/Exit/Object tests
- Add tests/commands/test_commands.py — all 8 command classes (Examine, Rooms, Status, Map, Academy, Smell, Listen, Who)
- Tests cover: attribute init, rate-limited audit logging, movement tracking,
  command counting, session tracking, summarize, rotation, command metadata
- Tests use mock-based approach so they run standalone without live Evennia

Smallest concrete fix: new dedicated test directory with logical grouping.
Tests verify critical audit behaviors, command output paths, and typeclass inheritance.
2026-04-26 13:05:09 -04:00

0 lines
0 B
Python