(tmp)
| 43 | |
| 44 | |
| 45 | def test_build_file_2(tmp): |
| 46 | |
| 47 | sys.argv.append(1) |
| 48 | p = os.path.join(os.path.abspath(tmp), "teste.nf") |
| 49 | |
| 50 | args = af.get_args(["build", "-t integrity_coverage fastqc", "-o", |
| 51 | "{}".format(p), "--pipeline-only"]) |
| 52 | af.build(args) |
| 53 | |
| 54 | assert sorted(os.listdir(tmp)) == [".forkTree.json", ".treeDag.json", |
| 55 | "containers.config", |
| 56 | "lib", "manifest.config", "params.config", |
| 57 | "resources.config", "teste.html", |
| 58 | "teste.nf", "user.config"] |
| 59 | |
| 60 | |
| 61 | def test_build_recipe(tmp): |