Skip to content

Commit

Permalink
Bump schemathesis to v3.31.0 and silence warnings on API tests (#4593)
Browse files Browse the repository at this point in the history
  • Loading branch information
krysal authored Jul 4, 2024
1 parent 9ff0735 commit 870cc85
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 14 deletions.
35 changes: 23 additions & 12 deletions api/pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/test/unit/controllers/test_search_controller.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import datetime
import random
import re
from collections.abc import Callable
from datetime import datetime, timezone
from enum import Enum, auto
from unittest import mock
from unittest.mock import patch
Expand Down Expand Up @@ -858,7 +858,7 @@ def test_get_excluded_sources_query_returns_excluded(
else:
for i in range(excluded_count):
ContentSourceFactory.create(
created_on=datetime.datetime.now(),
created_on=datetime.now(tz=timezone.utc),
source_identifier=f"source{i + 1}",
source_name=f"Source {i + 1}",
filter_content=True,
Expand Down

0 comments on commit 870cc85

Please sign in to comment.