summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-08-10 15:06:50 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-08-12 15:25:15 -0500
commit0c29101d1c9532936e6548265accb14e335064f5 (patch)
tree73ad68737110e1fe7c960bd8c35303fc9c6f396a /tests/conftest.py
parentf3cae7a7a11cd23b3cc23bb789ac48d1df7f477e (diff)
downloadrequests-cache-0c29101d1c9532936e6548265accb14e335064f5.tar.gz
Add more test coverage for cache_control and cache_keys modules
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 12a4da8..55e9c0b 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -9,7 +9,7 @@ Note: The protocol ``http(s)+mock://`` helps :py:class:`requests_mock.Adapter` p
https://requests-mock.readthedocs.io/en/latest/adapter.html
"""
import os
-from datetime import datetime, timezone
+from datetime import datetime
from functools import wraps
from logging import basicConfig, getLogger
from os.path import abspath, dirname, join
@@ -49,7 +49,7 @@ HTTPBIN_FORMATS = [
]
HTTPDATE_STR = 'Fri, 16 APR 2021 21:13:00 GMT'
-HTTPDATE_DATETIME = datetime(2021, 4, 16, 21, 13, tzinfo=timezone.utc)
+HTTPDATE_DATETIME = datetime(2021, 4, 16, 21, 13)
MOCKED_URL = 'http+mock://requests-cache.com/text'
MOCKED_URL_HTTPS = 'https+mock://requests-cache.com/text'