Clean up obsolete MoveAction test stubs in test_commands_dropadd.py #16

Closed
opened 2026-02-20 04:22:04 +00:00 by cal · 0 comments
Owner

Found in tests/test_commands_dropadd.py:287:

# TODO: These tests are for obsolete MoveAction-based functionality
# The transaction system now uses from_roster/to_roster directly
# def test_determine_roster_types_add(self, commands_cog):
# def test_determine_roster_types_drop(self, commands_cog):
# def test_determine_roster_types_recall(self, commands_cog):
# def test_determine_roster_types_demote(self, commands_cog):
pass  # Placeholder

These commented-out tests reference the old MoveAction-based transaction system. The transaction system now uses from_roster/to_roster directly, so these stubs are dead code.

Either remove them entirely or replace with tests covering the current from_roster/to_roster approach.

Found in `tests/test_commands_dropadd.py:287`: ```python # TODO: These tests are for obsolete MoveAction-based functionality # The transaction system now uses from_roster/to_roster directly # def test_determine_roster_types_add(self, commands_cog): # def test_determine_roster_types_drop(self, commands_cog): # def test_determine_roster_types_recall(self, commands_cog): # def test_determine_roster_types_demote(self, commands_cog): pass # Placeholder ``` These commented-out tests reference the old `MoveAction`-based transaction system. The transaction system now uses `from_roster/to_roster` directly, so these stubs are dead code. Either remove them entirely or replace with tests covering the current `from_roster/to_roster` approach.
cal closed this issue 2026-02-20 20:28:17 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/major-domo-v2#16
No description provided.