Skip to content

Add tests for TUI Rules view actions #48

Description

@TheZupZup

Overview

Recent work added multiple actions and behaviors to the TUI Rules view (unblock, untrust, navigation skipping, status messages), but there is currently no test coverage for them.

What needs to be done

  • Add tests for _unblock_from_rules_view
  • Add tests for action_toggle_trust
  • Add tests for navigation skipping (non-actionable rows)
  • Add tests for status message updates on selection

Goal

Core Rules view behaviors are covered by tests to prevent regressions.

Notes

  • Focus on unit-style tests where possible
  • Mock load_rules() and helpers to avoid filesystem writes
  • Keep tests fast and isolated

help wanted

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions