Debian Codegraph @

docs/testing.rst

raw
1 Testing
2 =======
3
4 It's really easy to cut the dependency with aiocache functionality:
5
6 .. literalinclude:: ../examples/testing.py
7
8 Note that we are passing the :ref:`basecache` as the spec for the Mock.
9
10 Also, for debuging purposes you can use `AIOCACHE_DISABLE = 1 python myscript.py` to disable caching.