We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30201b8 commit 9a8a3afCopy full SHA for 9a8a3af
tests/test_params_outdated_code/Snakefile
@@ -4,9 +4,6 @@ This is a test for the params syntax.
4
"""
5
shell.executable("bash")
6
7
-rule:
8
- input: "somedir/test.out"
9
-
10
rule:
11
params: lambda wildcards: "-f", dir="{dir}"
12
output: "{dir}/test.out"
tests/tests.py
@@ -264,10 +264,10 @@ def test_params():
264
run(dpath("test_params"))
265
266
267
-def test_params_outdated_code(mocker):
+def test_params_outdated_metadata(mocker):
268
spy = mocker.spy(Persistence, "has_outdated_metadata")
269
270
- run(dpath("test_params_outdated_code"))
+ run(dpath("test_params_outdated_code"), targets=["somedir/test.out"])
271
assert spy.spy_return == True
272
273
0 commit comments