Skip to content

Commit 2d9cf68

Browse files
committed
Fix ci errors [skip ci]
1 parent 8077799 commit 2d9cf68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ disallow_subclassing_any = True
55
disallow_untyped_calls = True
66
disallow_untyped_decorators = False
77
disallow_untyped_defs = True
8-
follow_imports = 'normal'
8+
follow_imports = silent
99
ignore_missing_imports = True
1010
no_implicit_optional = True
1111
strict_optional = True

tests/mock_vws/utils/assertions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def assert_vws_failure(
4141

4242
def assert_valid_date_header(response: Response) -> None:
4343
"""
44-
Assert that a response includes a `Date` header which is within one minute
44+
Assert that a response includes a `Date` header which is within two minutes
4545
of "now".
4646
4747
Args:
@@ -67,7 +67,7 @@ def assert_valid_date_header(response: Response) -> None:
6767
)
6868
current_date = datetime.datetime.now(tz=gmt)
6969
time_difference = abs(current_date - datetime_from_response)
70-
assert time_difference < datetime.timedelta(minutes=1)
70+
assert time_difference < datetime.timedelta(minutes=2)
7171

7272

7373
def assert_valid_transaction_id(response: Response) -> None:

0 commit comments

Comments
 (0)