Skip to content

Commit 0d9e35a

Browse files
fix linting
1 parent 3e5e055 commit 0d9e35a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_filter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,9 @@ async def test_several_or_in_query(session, get_vacancy_filter, create_vacancies
390390

391391
for vacancy in data["vacancies"]:
392392
assert (
393-
datetime.strptime(created_between[0], created_pattern).date() < vacancy["created_at"] < datetime.strptime(created_between[1], created_pattern).date()
393+
datetime.strptime(created_between[0], created_pattern).date() <
394+
vacancy["created_at"] <
395+
datetime.strptime(created_between[1], created_pattern).date()
394396
or vacancy["salary_up_to"] < salary
395397
or vacancy["updated_at"] == datetime.strptime(updated_in[0], updated_pattern)
396398
or vacancy["updated_at"] == datetime.strptime(updated_in[1], updated_pattern)

0 commit comments

Comments
 (0)