Skip to content

Commit 7b3b911

Browse files
committed
test(django): Remove unused fixture args from 7 test signatures
AST-verified unused: capture_events in test_materialized_user_captured (never called), client in 6 raw-cursor executemany tests (no HTTP). Unrequested fixtures are never built, so removal is behavior-neutral; signatures now truthfully describe each test's dependencies.
1 parent e5a5204 commit 7b3b911

3 files changed

Lines changed: 0 additions & 7 deletions

File tree

tests/integrations/django/test_basic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,6 @@ def test_user_captured(
535535
def test_materialized_user_captured(
536536
sentry_init,
537537
client,
538-
capture_events,
539538
capture_items,
540539
):
541540
sentry_init(

tests/integrations/django/test_db_query_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,6 @@ def test_db_span_origin_execute(
900900
@pytest.mark.parametrize("span_streaming", [True, False])
901901
def test_db_span_origin_executemany(
902902
sentry_init,
903-
client,
904903
capture_events,
905904
capture_items,
906905
span_streaming,

tests/integrations/django/test_db_transactions.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,6 @@ def test_db_no_autocommit_execute(
617617
@pytest.mark.parametrize("span_streaming", [True, False])
618618
def test_db_no_autocommit_executemany(
619619
sentry_init,
620-
client,
621620
capture_events,
622621
capture_items,
623622
span_streaming,
@@ -900,7 +899,6 @@ def test_db_no_autocommit_rollback_execute(
900899
@pytest.mark.parametrize("span_streaming", [True, False])
901900
def test_db_no_autocommit_rollback_executemany(
902901
sentry_init,
903-
client,
904902
capture_events,
905903
capture_items,
906904
span_streaming,
@@ -1181,7 +1179,6 @@ def test_db_atomic_execute(
11811179
@pytest.mark.parametrize("span_streaming", [True, False])
11821180
def test_db_atomic_executemany(
11831181
sentry_init,
1184-
client,
11851182
capture_events,
11861183
capture_items,
11871184
span_streaming,
@@ -1457,7 +1454,6 @@ def test_db_atomic_rollback_execute(
14571454
@pytest.mark.parametrize("span_streaming", [True, False])
14581455
def test_db_atomic_rollback_executemany(
14591456
sentry_init,
1460-
client,
14611457
capture_events,
14621458
capture_items,
14631459
span_streaming,
@@ -1737,7 +1733,6 @@ def test_db_atomic_execute_exception(
17371733
@pytest.mark.parametrize("span_streaming", [True, False])
17381734
def test_db_atomic_executemany_exception(
17391735
sentry_init,
1740-
client,
17411736
capture_events,
17421737
capture_items,
17431738
span_streaming,

0 commit comments

Comments
 (0)