Skip to content

Commit

Permalink
Update Item.depend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rrjbca committed May 13, 2021
1 parent b1aa891 commit d9c4afa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skypy/pipeline/tests/test_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_item():
item.infer({})

# check `depend` method
deps = item.depend(pipeline)
deps = item.depend()
assert isinstance(deps, list)
assert len(deps) == 0

Expand Down Expand Up @@ -75,7 +75,7 @@ def tester(arg1, arg2, *, kwarg1, kwarg2):
pipeline = Pipeline({'var1': 1, 'var3': 3})

# check dependencies are resolved
deps = call.depend(pipeline)
deps = call.depend()
assert deps == ['var1', 'var3']

# execute the pipeline (sets state) and evaluate the call
Expand Down

0 comments on commit d9c4afa

Please sign in to comment.