Skip to content

test: add palace_graph tunnel helper coverage#908

Merged
igorls merged 1 commit intoMemPalace:developfrom
fatkobra:test/palace-graph-tunnels
Apr 15, 2026
Merged

test: add palace_graph tunnel helper coverage#908
igorls merged 1 commit intoMemPalace:developfrom
fatkobra:test/palace-graph-tunnels

Conversation

@fatkobra
Copy link
Copy Markdown
Contributor

Adds focused tests for explicit tunnel helpers in mempalace/palace_graph.py.

Covered:

  • _load_tunnels
  • _save_tunnels
  • create_tunnel
  • list_tunnels
  • delete_tunnel
  • follow_tunnels

What does this PR do?

The existing palace graph tests cover graph-building and traversal, but not the explicit tunnel persistence helpers.

How to test

Validation:

  • ruff check tests/test_palace_graph_tunnels.py
  • python -m pytest tests/test_palace_graph_tunnels.py -v
  • python -m pytest tests/test_palace_graph.py tests/test_palace_graph_tunnels.py -v
  • python -m pytest tests/ -v

No production code changes.

Checklist

  • Tests pass (python -m pytest tests/ -v)
  • No hardcoded paths
  • Linter passes (ruff check .)

Adds focused tests for explicit tunnel helpers in `mempalace/palace_graph.py`.

Covered:
- `_load_tunnels`
- `_save_tunnels`
- `create_tunnel`
- `list_tunnels`
- `delete_tunnel`
- `follow_tunnels`
@igorls igorls added the enhancement New feature or request label Apr 15, 2026
@igorls igorls merged commit 56b6a63 into MemPalace:develop Apr 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants