Skip to content

Commit 2108a10

Browse files
committed
Remove unused variables in fundraise tests
1 parent e895f41 commit 2108a10

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/purchase/tests/test_fundraise_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def test_close_fundraise_refunds_rsc_fees(self):
348348
self._give_user_rsc_balance(contributor, 1000)
349349

350350
contribution_amount = Decimal("100")
351-
purchase, error = self.fundraise_service.create_rsc_contribution(
351+
_, error = self.fundraise_service.create_rsc_contribution(
352352
contributor, self.fundraise, contribution_amount
353353
)
354354
self.assertIsNone(error)
@@ -389,12 +389,12 @@ def test_close_fundraise_fee_refund_scoped_to_contribution(self):
389389
amt1 = Decimal("100")
390390
amt2 = Decimal("200")
391391

392-
purchase1, err1 = self.fundraise_service.create_rsc_contribution(
392+
_, err1 = self.fundraise_service.create_rsc_contribution(
393393
contributor, self.fundraise, amt1
394394
)
395395
self.assertIsNone(err1)
396396

397-
purchase2, err2 = self.fundraise_service.create_rsc_contribution(
397+
_, err2 = self.fundraise_service.create_rsc_contribution(
398398
contributor, self.fundraise, amt2
399399
)
400400
self.assertIsNone(err2)
@@ -561,7 +561,7 @@ def test_close_fundraise_all_unlocked_stays_unlocked(self):
561561
contributor = create_random_authenticated_user("unlocked_contributor")
562562
self._give_user_rsc_balance(contributor, 1000)
563563

564-
purchase, error = self.fundraise_service.create_rsc_contribution(
564+
_, error = self.fundraise_service.create_rsc_contribution(
565565
contributor, self.fundraise, Decimal("100")
566566
)
567567
self.assertIsNone(error)

0 commit comments

Comments
 (0)