Skip to content

Commit fd0641a

Browse files
committed
temporary commit
1 parent 52445f7 commit fd0641a

3 files changed

Lines changed: 271 additions & 67 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ dependencies = [
3737
"stringcase",
3838
"filelock",
3939
"pathos",
40+
"tomli-w"
4041
]
4142
dynamic = ["version", "entry-points", "scripts"]
4243

tests/wfchef/test_wfchef.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@ def test_create_recipe(self) -> None:
5252
create_recipe(args["path"], args["out"], args["name"], cutoff=args["cutoff"], verbose=True)
5353

5454
# Check that some of the expected files are there
55-
assert((dirpath / "setup.py").exists())
55+
assert((dirpath / "pyproject.toml").exists())
5656
assert((dirpath / "recipe_recipes" / "__init__.py").exists())
57-
assert((dirpath / "recipe_recipes" / "__init__.py").exists())
58-
assert((dirpath / "recipe_recipes" / "somename" / "__init__.py").exists())
5957
assert((dirpath / "recipe_recipes" / "somename" / "__init__.py").exists())
6058
assert((dirpath / "recipe_recipes" / "somename" / "recipe.py").exists())
6159
assert((dirpath / "recipe_recipes" / "somename" / "microstructures").exists())
@@ -65,7 +63,7 @@ def test_create_recipe(self) -> None:
6563

6664
# Install the recipe
6765
sys.stderr.write("Installing the recipe...\n")
68-
subprocess.check_call([sys.executable, "-m", "pip", "install", "/tmp/recipe/recipe_recipe"])
66+
subprocess.check_call([sys.executable, "-m", "pip", "install", "/tmp/recipe/"])
6967

7068
sys.stderr.write("2. CALLING LS_RECIPE()\n")
7169
ls_recipe()

0 commit comments

Comments
 (0)