Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 342 Bytes

testing.rst

File metadata and controls

10 lines (6 loc) · 342 Bytes

Testing

It's really easy to cut the dependency with aiocache functionality:

../examples/testing.py

Note that we are passing the basecache as the spec for the Mock (you need to install asynctest).

Also, for debuging purposes you can use AIOCACHE_DISABLE = 1 python myscript.py to disable caching.