Skip to content

Commit

Permalink
Fix pylance warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-uoa committed Oct 9, 2024
1 parent f2a9723 commit aab2b71
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/fixtures/fixtures_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from pytz import BaseTzInfo

from src.blueprints.common_models import GroupACL, Parameter, UserACL
from src.blueprints.custom_data_types import Username
from src.blueprints.storage_boxes import StorageTypesEnum
from src.mytardis_client.endpoints import URI

Expand Down Expand Up @@ -452,7 +451,7 @@ def split_and_parse_users(
) -> List[UserACL]:
return_list = [
UserACL(
user=Username(admin_user),
user=admin_user,
is_owner=True,
can_download=True,
see_sensitive=True,
Expand All @@ -471,7 +470,7 @@ def split_and_parse_users(
sensitive = True
return_list.append(
UserACL(
user=Username(user),
user=user,
is_owner=False,
can_download=download,
see_sensitive=sensitive,
Expand Down

0 comments on commit aab2b71

Please sign in to comment.