Add retry_utils, update docstrings, add tests

This commit is contained in:
2025-05-01 00:35:36 -04:00
parent b9529d85ce
commit 4b1a9ef718
10 changed files with 205 additions and 52 deletions

View File

@ -49,7 +49,8 @@ def test_command_str():
description="Test Command",
action=action
)
assert str(cmd) == "Command(key='TEST', description='Test Command' action='Action(name=test_action, action=dummy_action)')"
print(cmd)
assert str(cmd) == "Command(key='TEST', description='Test Command' action='Action(name='test_action', action=dummy_action, args=(), kwargs={}, retry=False)')"
@pytest.mark.parametrize(
"action_factory, expected_requires_input",