aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-08-16 12:27:24 -0700
committerGravatar MarkKoz <[email protected]>2020-08-17 12:31:52 -0700
commit2300b66c09ac853fbf332ad1bbdd291d6d0c1d87 (patch)
tree7ff51fcc0624b9884b6f40693054c1873df3ef77 /tests/test_helpers.py
parentSilence: rename _get_instance_vars to _init_cog (diff)
Tests: optionally prevent autospec helper from passing mocks
Not everything that's decorated needs the mocks that are patched. Being required to add the args to the test function anyway is annoying. It's especially bad if trying to decorate an entire test suite, as every test would need the args. Move the definition to a separate module to keep things cleaner.
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions