Skip to content

Commit

Permalink
Fix static code problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvanrun committed Jan 16, 2025
1 parent b202289 commit 1a26069
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/async_integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ async def test_add_and_update_file_to_archive_item(local_grand_challenge):
# retrieve existing archive item pk
items = await get_archive_items(c, archive.pk, len(old_items_list))

old_items_pks = set(item.pk for item in old_items_list)
old_items_pks = {item.pk for item in old_items_list}

# get the new item
target_archive_item = None
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
from tempfile import TemporaryDirectory
from time import sleep
from unittest.mock import patch
from dotenv import load_dotenv

import httpx
import pytest
import yaml
from dotenv import load_dotenv

from tests.integration_tests import ADMIN_TOKEN

Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def test_add_and_update_file_to_archive_item(local_grand_challenge):
# retrieve existing archive item pk
items = get_archive_items(c, archive.pk, len(old_items_list))

old_items_pks = set(item.pk for item in old_items_list)
old_items_pks = {item.pk for item in old_items_list}

# get the new item
target_archive_item = None
Expand Down

0 comments on commit 1a26069

Please sign in to comment.