Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Jan 15, 2022
1 parent f7553fb commit 219943b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_scaffold.py
Expand Up @@ -99,7 +99,7 @@ def test_add_task_from_scaffold(backup_test_pkg, tmp_directory):
# dotted path actually exists. I think the cleanest solution
# is to add a special class method for DAGSpec that allows the lazy
# load to skip validating the last attribute...
spec, path_to_spec = scaffold.load_dag()
spec, _, path_to_spec = scaffold.load_dag()
scaffold.add(spec, path_to_spec)

code = Path(backup_test_pkg, 'functions.py').read_text()
Expand Down Expand Up @@ -134,7 +134,7 @@ def test_add_task_when_using_import_tasks_from(tmp_directory):

(subdir / 'tasks.yaml').write_text(tasks)

spec, path_to_spec = scaffold.load_dag()
spec, _, path_to_spec = scaffold.load_dag()
scaffold.add(spec, path_to_spec)

assert (subdir / 'notebook.py').exists()

0 comments on commit 219943b

Please sign in to comment.