From 48d504d703ab3dfe26d18f6ef4d7776a34ae7edc Mon Sep 17 00:00:00 2001 From: JamieDeMaria Date: Mon, 29 Jan 2024 16:52:56 -0500 Subject: [PATCH] test fix --- .../dagster/dagster_tests/asset_defs_tests/test_assets_job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_modules/dagster/dagster_tests/asset_defs_tests/test_assets_job.py b/python_modules/dagster/dagster_tests/asset_defs_tests/test_assets_job.py index 05d3acb831991..d1168f18d3a2e 100644 --- a/python_modules/dagster/dagster_tests/asset_defs_tests/test_assets_job.py +++ b/python_modules/dagster/dagster_tests/asset_defs_tests/test_assets_job.py @@ -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) @@ -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)