Skip to content

Commit

Permalink
Update tests from snakemake#823 MREs
Browse files Browse the repository at this point in the history
- Can't have the b.txt in first text be temp and expect it present, it
will correctly be deleted.
- Add third MRE which is targeting more of a log issue
  • Loading branch information
epruesse committed Oct 2, 2021
1 parent cf22d77 commit 315f769
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_issue823_1/Snakefile
Expand Up @@ -21,7 +21,7 @@ rule b:
input:
_checkpoint_output,
output:
temp('b.txt')
'b.txt'
shell:
"touch {output}"

9 changes: 9 additions & 0 deletions tests/test_issue823_3/Snakefile
@@ -0,0 +1,9 @@
rule all:
input:
"a.txt"

checkpoint a:
output:
"a.txt"
shell:
"touch {output}"
Empty file.
9 changes: 8 additions & 1 deletion tests/tests.py
Expand Up @@ -798,11 +798,18 @@ def test_issue805():
run(dpath("test_issue805"), shouldfail=True)


def test_issue823():
def test_issue823_1():
run(dpath("test_issue823_1"))


def test_issue823_2():
run(dpath("test_issue823_2"))


def test_issue823_3():
run(dpath("test_issue823_3s"))


@skip_on_windows
def test_pathlib():
run(dpath("test_pathlib"))
Expand Down

0 comments on commit 315f769

Please sign in to comment.