summaryrefslogtreecommitdiff
path: root/tests/integration/test_upgrade.py
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook.git@proton.me>2023-05-08 11:23:22 -0500
committerJordan Cook <jordan.cook.git@proton.me>2023-05-08 11:32:25 -0500
commit7a0aa6de6bb9d912554bac6cafef2d2ff7c757b6 (patch)
tree70b96898114b73698dc3cdc4639f215acd07fce1 /tests/integration/test_upgrade.py
parent83f7bc77e4daeab70e19e29a1ed1ba4bcabff9e1 (diff)
downloadrequests-cache-7a0aa6de6bb9d912554bac6cafef2d2ff7c757b6.tar.gz
Enable bugbear extension and fix warnings
Diffstat (limited to 'tests/integration/test_upgrade.py')
-rw-r--r--tests/integration/test_upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/test_upgrade.py b/tests/integration/test_upgrade.py
index 162024e..6774ec4 100644
--- a/tests/integration/test_upgrade.py
+++ b/tests/integration/test_upgrade.py
@@ -19,5 +19,5 @@ def test_version_upgrade(db_path, tempfile_path):
session = CachedSession(tempfile_path)
for response_format in HTTPBIN_FORMATS:
- session.get(httpbin(response_format)).from_cache
+ session.get(httpbin(response_format))
assert session.get(httpbin(response_format)).from_cache is True