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 8, 2023
1 parent 06428f8 commit 54f37c3
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 54f37c3

Please sign in to comment.