Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Jan 30, 2024
1 parent f917954 commit 864fe46
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 864fe46

Please sign in to comment.