Context Object and Decorator for Unit Tests

Issue #22 new
Benjamen Meyer
created an issue

As the setup/teardown is basically the same, it'd be great to have at least a Context Object that can handle that returning access via the return value:

with ddbmockContext() as ddb: ...

It would also be helpful to have a decorator for test functions in similar form:

@ddbmockDecorator def test_my_dynamo(ddb): ....

Comments (0)

  1. Log in to comment