Skip to content

Commit 52445f7

Browse files
committed
Added debug info to wfchef test
1 parent 4305d1f commit 52445f7

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

tests/wfchef/test_wfchef.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,23 @@ def test_create_recipe(self) -> None:
6060
assert((dirpath / "recipe_recipes" / "somename" / "recipe.py").exists())
6161
assert((dirpath / "recipe_recipes" / "somename" / "microstructures").exists())
6262

63+
sys.stderr.write("1. CALLING LS_RECIPE()\n")
6364
ls_recipe()
6465

6566
# Install the recipe
6667
sys.stderr.write("Installing the recipe...\n")
67-
subprocess.check_call([sys.executable, "-m", "pip", "install", "/tmp/recipe"])
68+
subprocess.check_call([sys.executable, "-m", "pip", "install", "/tmp/recipe/recipe_recipe"])
69+
70+
sys.stderr.write("2. CALLING LS_RECIPE()\n")
71+
ls_recipe()
6872

6973
# Uninstall the recipe
7074
# TODO: This does not uninstall the recipe (to fix)
71-
# sys.stderr.write("Uninstalling the recipe...\n")
72-
# uninstall_recipe("/tmp/recipe")
73-
# ls_recipe()
75+
sys.stderr.write("Uninstalling the recipe...\n")
76+
uninstall_recipe("recipe_recipes.somename", dirpath)
77+
sys.stderr.write("3. CALLING LS_RECIPE()\n")
78+
79+
ls_recipe()
7480

7581

7682
# TODO: Do more extensive tests

0 commit comments

Comments
 (0)