diff --git a/registrasion/tests/test_invoice.py b/registrasion/tests/test_invoice.py index b121bfa1d034707a82156e6158203909b1665a91..7854680dc4c4b6455c38e29b4b050f4c9e919bb4 100644 --- a/registrasion/tests/test_invoice.py +++ b/registrasion/tests/test_invoice.py @@ -197,7 +197,7 @@ class InvoiceTestCase(RegistrationCartTestCase): def test_cannot_generate_blank_invoice(self): current_cart = TestingCartController.for_user(self.USER_1) with self.assertRaises(ValidationError): - invoice_1 = TestingInvoiceController.for_cart(current_cart.cart) + TestingInvoiceController.for_cart(current_cart.cart) def test_cannot_pay_implicitly_void_invoice(self): cart = TestingCartController.for_user(self.USER_1) @@ -210,8 +210,6 @@ class InvoiceTestCase(RegistrationCartTestCase): with self.assertRaises(ValidationError): invoice.validate_allowed_to_pay() - - # TODO: test partially paid invoice cannot be void until payments # are refunded