We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3c74a4 commit f5e5721Copy full SHA for f5e5721
effect/testing.py
@@ -1,9 +1,8 @@
1
"""
2
-Various functions for testing effects.
+Various functions and dispatchers for testing effects.
3
4
-The main goal of this code is to allow you to safely tests your effects
5
-in a way that makes it hard to *accidentally* perform real effects in your
6
-tests.
+Usually the best way to test effects is by using :func:`effect.sync_perform`
+with a :obj:`SequenceDispatcher`.
7
8
9
from __future__ import print_function
@@ -20,6 +19,18 @@
20
19
21
import six
22
+__all__ = [
23
+ 'SequenceDispatcher',
24
+ 'EQDispatcher',
25
+ 'EQFDispatcher',
26
+ 'resolve_effect',
27
+ 'fail_effect',
28
+ 'Stub',
29
+ 'ESConstant', 'ESError', 'ESFunc',
30
+ 'resolve_stubs',
31
+ 'resolve_stub',
32
+]
33
+
34
35
@attr.s
36
class Stub(object):
0 commit comments