We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a14c3 commit 71423d5Copy full SHA for 71423d5
tests/test_packsmanager.py
@@ -32,6 +32,10 @@ def test_available_examples(expected_dict):
32
), f"{ex} not found under pack {pack}."
33
34
35
-def test_print_info():
36
- """Test that print_info runs without error."""
37
- assert False
+def test_print_info(capsys):
+ """Test that print_info prints expected information to stdout."""
+ pkmg = PacksManager()
38
+ pkmg.print_info()
39
+ captured = capsys.readouterr()
40
+ output = captured.out.strip()
41
+ assert "Available packs" in output or "Installed packs" in output
0 commit comments