Skip to content

test: add shared world fixtures#30

Open
snoopuppy582 wants to merge 1 commit into
KamaTechOrg:mainfrom
snoopuppy582:test/shared-world-fixtures
Open

test: add shared world fixtures#30
snoopuppy582 wants to merge 1 commit into
KamaTechOrg:mainfrom
snoopuppy582:test/shared-world-fixtures

Conversation

@snoopuppy582
Copy link
Copy Markdown

Fixes #24

Summary

  • Added shared small_world and loaded_world pytest fixtures in tests/conftest.py.
  • Refactored world tests to use the shared fixtures instead of a local helper.
  • Added a small default-config smoke assertion through loaded_world.

Tests

  • uv run --python 3.12 --extra dev pytest tests/test_world.py -q
  • uv run --python 3.12 --extra dev pytest -q
  • uv run --python 3.12 --extra dev ruff check .
  • git diff --check

Notes

  • Kept the change limited to shared test fixtures and the existing world tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pytest conftest.py fixtures

1 participant