Skip to content

Commit

Permalink
use a methods that's actually on the context
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Dec 18, 2023
1 parent c3d43f2 commit e945c4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ async def get_results():
def test_bound_state_with_error_assets():
@asset
def throws_error(context):
assert context.alias == "throws_error"
assert context.asset_key.to_user_string() == "throws_error"
raise Failure("something bad happened!")

ctx = build_asset_context()
Expand Down

0 comments on commit e945c4f

Please sign in to comment.