@@ -351,16 +351,16 @@ def test_copy_examples_force(example_cases, expected_paths, force):
351351 # expected: print_info output showing packA installed but not packB
352352 ("packA" ,),
353353 """Installed Packs:
354- packA
354+ packa
355355
356356Available Packs to Install:
357- packB
357+ packb
358358
359359Examples:
360- packA :
360+ packa :
361361 - ex1
362362 - ex2
363- packB :
363+ packb :
364364 - ex1
365365 - ex3
366366 - ex4""" ,
@@ -369,9 +369,10 @@ def test_copy_examples_force(example_cases, expected_paths, force):
369369
370370
371371@pytest .mark .parametrize ("packs_to_install,expected" , install_params )
372- def test_print_info (packs_to_install , expected , temp_dir_print_info , capsys ):
373- env_dir = temp_dir_print_info / "fake_env"
374- req_dir = temp_dir_print_info / "requirements" / "packs"
372+ def test_print_info (packs_to_install , expected , example_cases , capsys ):
373+ case5dir = example_cases / "case5"
374+ env_dir = case5dir / "fake_env"
375+ req_dir = case5dir / "requirements" / "packs"
375376 venv .EnvBuilder (with_pip = True ).create (env_dir )
376377 for pack in packs_to_install :
377378 req_file = req_dir / f"{ pack .lower ()} .txt"
@@ -381,7 +382,7 @@ def test_print_info(packs_to_install, expected, temp_dir_print_info, capsys):
381382 capture_output = True ,
382383 text = True ,
383384 )
384- pm = PacksManager (root_path = temp_dir_print_info )
385+ pm = PacksManager (root_path = case5dir )
385386 pm .print_info ()
386387 captured = capsys .readouterr ()
387388 actual = captured .out
0 commit comments