do you have a mock for context as in testing the a...
# ask-community
s
do you have a mock for context as in testing the an op with definition
Copy code
@op(required_resource_keys={...}
def some_op(context, ...):

def test_some_op():
    result =
How do you mock the context? It fails with
compute function of op '….' has context argument, but no context was provided when invoking.
r
s
Thanks sorry. missed that before.