MCPcopy Create free account
hub / github.com/assemblerflow/flowcraft / test_build_file_2

Function test_build_file_2

flowcraft/tests/test_assemblerflow.py:45–58  ·  view source on GitHub ↗
(tmp)

Source from the content-addressed store, hash-verified

43
44
45def 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
61def test_build_recipe(tmp):

Callers

nothing calls this directly

Calls 1

buildMethod · 0.80

Tested by

no test coverage detected