Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Jan 31, 2024
1 parent ad39522 commit 446b77c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@ def test_job_preserved_with_asset_subset():

@op(config_schema={"foo": int})
def one(context):
assert context.op_config["foo"] == 1
assert context.op_execution_context.op_config["foo"] == 1

asset_one = AssetsDefinition.from_op(one)

Expand Down Expand Up @@ -1446,7 +1446,7 @@ def test_job_default_config_preserved_with_asset_subset():

@op(config_schema={"foo": Field(int, default_value=1)})
def one(context):
assert context.op_config["foo"] == 1
assert context.op_execution_context.op_config["foo"] == 1

asset_one = AssetsDefinition.from_op(one)

Expand Down

0 comments on commit 446b77c

Please sign in to comment.