Skip to content

Commit

Permalink
remove unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Jan 29, 2024
1 parent 9ff3965 commit 1532ae6
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1589,17 +1589,3 @@ async def get_results():
asyncio.run(get_results())

assert_context_unbound(ctx)


def test_run_properties_access():
@asset
def access_run_properties(context: AssetExecutionContext):
assert context.run_properties.run_id == "EPHEMERAL"
assert context.run_properties.retry_number == 0

with pytest.raises(DagsterInvalidPropertyError):
context.run_properties.dagster_run # noqa:B018

ctx = build_asset_context()

access_run_properties(ctx)

0 comments on commit 1532ae6

Please sign in to comment.