Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Mar 11, 2024
1 parent f21de9e commit 805a0df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_api.py
@@ -1,5 +1,7 @@
import sys, os, subprocess

from snakemake.executors import local

sys.path.insert(0, os.path.dirname(__file__))

from .common import *
Expand Down Expand Up @@ -44,7 +46,7 @@ def test_deploy_sources(s3_storage):
workflow._build_dag()
workflow.upload_sources()

cmd = workflow.spawned_job_args_factory.precommand()
cmd = workflow.spawned_job_args_factory.precommand(local.common_settings)
assert cmd

origdir = os.getcwd()
Expand Down

0 comments on commit 805a0df

Please sign in to comment.