Skip to content

Commit

Permalink
Use correct type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Dec 25, 2024
1 parent dd6b597 commit 7055fb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions adit/batch_transfer/tests/test_views.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import pytest
from adit_radis_shared.accounts.factories import UserFactory
from adit_radis_shared.common.utils.testing_helpers import add_user_to_group
from django.conf import LazySettings
from django.test import Client
from django.urls import reverse
from procrastinate.contrib.django.models import ProcrastinateJob
from pytest_django.asserts import assertTemplateUsed
from pytest_django.fixtures import SettingsWrapper

from adit.batch_transfer.utils.testing_helpers import create_batch_transfer_group, create_form_data
from adit.core.models import DicomServer
Expand Down Expand Up @@ -44,7 +44,7 @@ def test_logged_in_user_with_permission_can_access_form(client: Client):


@pytest.mark.django_db
def test_batch_job_created_and_enqueued_with_auto_verify(client: Client, settings: LazySettings):
def test_batch_job_created_and_enqueued_with_auto_verify(client: Client, settings: SettingsWrapper):
settings.START_BATCH_TRANSFER_UNVERIFIED = True

user = UserFactory.create()
Expand All @@ -67,7 +67,7 @@ def test_batch_job_created_and_enqueued_with_auto_verify(client: Client, setting

@pytest.mark.django_db
def test_batch_job_created_and_not_enqueued_without_auto_verify(
client: Client, settings: LazySettings
client: Client, settings: SettingsWrapper
):
settings.START_BATCH_TRANSFER_UNVERIFIED = False

Expand Down

0 comments on commit 7055fb6

Please sign in to comment.