Refactor access card printing and update test assertions
- Replaced deprecated console usage in `print_access_card` with a new console import for improved output handling. - Updated test assertions in `test_pools.py` and `test_prompts.py` for better clarity and accuracy in expected results.
This commit is contained in:
@@ -28,5 +28,5 @@ def test_prompt_menu_prints_and_picks():
|
||||
show=shown.append,
|
||||
)
|
||||
assert key == "recommended"
|
||||
assert any("1. rec" in line for line in shown)
|
||||
assert any("rec" in line for line in shown)
|
||||
assert any("←" in line for line in shown)
|
||||
|
||||
Reference in New Issue
Block a user