summaryrefslogtreecommitdiff
path: root/requests_cache/backends/base.py
diff options
context:
space:
mode:
authorJordan Cook <JWCook@users.noreply.github.com>2021-04-22 13:27:24 -0500
committerGitHub <noreply@github.com>2021-04-22 13:27:24 -0500
commitf2bf9bbfd8d711e9dfc8ccce83f439d765d484cb (patch)
treefb617be7c7760390b7239899e6522d865956342f /requests_cache/backends/base.py
parent38ddcf5425eadc6b174a8b053b2175c4dda00a1f (diff)
parent3ec85f0107caedbe3b3bd8080bd3dac81b7baa17 (diff)
downloadrequests-cache-f2bf9bbfd8d711e9dfc8ccce83f439d765d484cb.tar.gz
Merge pull request #242 from JWCook/integration-tests
Refactor backend integration tests
Diffstat (limited to 'requests_cache/backends/base.py')
-rw-r--r--requests_cache/backends/base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/requests_cache/backends/base.py b/requests_cache/backends/base.py
index e912879..def4dc1 100644
--- a/requests_cache/backends/base.py
+++ b/requests_cache/backends/base.py
@@ -201,3 +201,6 @@ class BaseStorage(MutableMapping, ABC):
return Serializer(secret_key, salt=salt, serializer=pickle)
else:
return pickle
+
+ def __str__(self):
+ return str(list(self.keys()))