Skip to content

Commit 402a718

Browse files
tpellissierclaude
andcommitted
Remove unused imports from test files
- Remove unused 'patch' import from extensions test - Remove unused 'CascadeConfiguration' import from data test - Remove unused 'result' variable assignment Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8db176a commit 402a718

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

tests/unit/data/test_relationships.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
ManyToManyRelationshipMetadata,
1414
Label,
1515
LocalizedLabel,
16-
CascadeConfiguration,
1716
)
1817

1918

tests/unit/extensions/test_relationships.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"""Tests for relationship extension helpers."""
55

66
import unittest
7-
from unittest.mock import MagicMock, patch
7+
from unittest.mock import MagicMock
88

99
from PowerPlatform.Dataverse.extensions.relationships import create_lookup_field
1010
from PowerPlatform.Dataverse.models.metadata import (
@@ -29,7 +29,7 @@ def setUp(self):
2929

3030
def test_basic_lookup_field_creation(self):
3131
"""Test basic lookup field creation with minimal parameters."""
32-
result = create_lookup_field(
32+
create_lookup_field(
3333
self.mock_client,
3434
referencing_table="new_order",
3535
lookup_field_name="new_AccountId",

0 commit comments

Comments
 (0)