-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No cache option for PyCrest __init__ and get() calls (#47)
* Add DummyCache to fake a cache, not to break existing code but still allow a "no cache" configuration. Also set DummyCache as default cache (cache=None). Change existing tests to match this new behavior, and add test for DummyCache * set DictCache as default, so we manually have to set it to none for no cache * Add caching argument to __call__ for ApiConnection and ApiObject * Remove prints... * Add caching parameters to the doc * Fix deprecated aliases for assertEqual (was using assertEquals) * Remove another forgotten print in tests
- Loading branch information
Showing
3 changed files
with
114 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters