def test_download_configs(self, outdir): download_obj = DownloadWorkflow(pipeline="nf-core/methylseq", revision="1.6") download_obj.outdir = outdir download_obj.download_configs() assert os.path.exists( os.path.join(outdir, "configs", "nfcore_custom.config"))
def test_download_configs(self): outdir = tempfile.mkdtemp() download_obj = DownloadWorkflow(pipeline="nf-core/methylseq", release="1.6") download_obj.outdir = outdir download_obj.download_configs() assert os.path.exists( os.path.join(outdir, "configs", "nfcore_custom.config"))
def test_download_wf_files(self, outdir): download_obj = DownloadWorkflow(pipeline="nf-core/methylseq", revision="1.6") download_obj.outdir = outdir download_obj.wf_sha = "b3e5e3b95aaf01d98391a62a10a3990c0a4de395" download_obj.wf_download_url = ( "https://github.com/nf-core/methylseq/archive/b3e5e3b95aaf01d98391a62a10a3990c0a4de395.zip" ) download_obj.download_wf_files() assert os.path.exists(os.path.join(outdir, "workflow", "main.nf"))