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:
+1
-1
@@ -19,4 +19,4 @@ def test_format_pool_scan_recommends_first_hit():
|
||||
text = "\n".join(format_pool_scan(offers, ("4090-24", "4090-48")))
|
||||
assert "ru-6" in text and "multizone" in text
|
||||
assert "типы:" in text
|
||||
assert "рекомендация: OS_REGION_NAME=ru-6" in text
|
||||
assert "рекомендация:" in text and "OS_REGION_NAME=ru-6" in text
|
||||
|
||||
Reference in New Issue
Block a user