Skip to content

Commit 8aa626f

Browse files
committed
Remove unused variables in fundraise tests
1 parent cd25f07 commit 8aa626f

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
@@ -351,7 +351,7 @@ def test_close_fundraise_refunds_rsc_fees(self):
351351
self._give_user_rsc_balance(contributor, 1000)
352352

353353
contribution_amount = Decimal("100")
354-
purchase, error = self.fundraise_service.create_rsc_contribution(
354+
_, error = self.fundraise_service.create_rsc_contribution(
355355
contributor, self.fundraise, contribution_amount
356356
)
357357
self.assertIsNone(error)
@@ -392,12 +392,12 @@ def test_close_fundraise_fee_refund_scoped_to_contribution(self):
392392
amt1 = Decimal("100")
393393
amt2 = Decimal("200")
394394

395-
purchase1, err1 = self.fundraise_service.create_rsc_contribution(
395+
_, err1 = self.fundraise_service.create_rsc_contribution(
396396
contributor, self.fundraise, amt1
397397
)
398398
self.assertIsNone(err1)
399399

400-
purchase2, err2 = self.fundraise_service.create_rsc_contribution(
400+
_, err2 = self.fundraise_service.create_rsc_contribution(
401401
contributor, self.fundraise, amt2
402402
)
403403
self.assertIsNone(err2)
@@ -564,7 +564,7 @@ def test_close_fundraise_all_unlocked_stays_unlocked(self):
564564
contributor = create_random_authenticated_user("unlocked_contributor")
565565
self._give_user_rsc_balance(contributor, 1000)
566566

567-
purchase, error = self.fundraise_service.create_rsc_contribution(
567+
_, error = self.fundraise_service.create_rsc_contribution(
568568
contributor, self.fundraise, Decimal("100")
569569
)
570570
self.assertIsNone(error)

0 commit comments

Comments
 (0)