aboutsummaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-08-17 20:36:48 -0700
committerGravatar MarkKoz <[email protected]>2020-08-18 10:11:27 -0700
commitcbdc14a3abbcbee644e9d4a6f3ffde125a7c91f1 (patch)
tree1231dd5f6a766fe31054fea4f012f84b6b7156c6 /tests/__init__.py
parentSilence tests: access everything via the silence module (diff)
Silence tests: remove _reschedule patch for cog tests
They don't do anything because they patch the class rather than the instance. It's too late for patching the instance to work since the `setUp` fixture, which instantiates the cog, executes before the patches do. Patching `setUp` would work (and its done in the other test cases), but some tests in this case will need the unpatched function too. Patching it doesn't serve much benefit to most tests anyway, so it's not worth the effort trying to make them work where they aren't needed.
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions