Changeset - ae8f39381f4a
[Not reviewed]
0 6 0
Christopher Neugebauer - 8 years ago 2016-04-08 09:49:18
chrisjrn@gmail.com
Flake8 fixes
6 files changed with 4 insertions and 8 deletions:
0 comments (0 inline, 0 general)
registrasion/controllers/invoice.py
Show inline comments
...
 
@@ -144,3 +144,2 @@ class InvoiceController(object):
 

	
 

	
 
    def _refresh(self):
registrasion/tests/controller_helpers.py
Show inline comments
...
 
@@ -5,3 +5,2 @@ from registrasion import models as rego
 
from django.core.exceptions import ObjectDoesNotExist
 
from django.core.exceptions import ValidationError
 

	
...
 
@@ -43,3 +42,3 @@ class TestingInvoiceController(InvoiceController):
 
        ''' Adds a payment '''
 
        payment = rego.ManualPayment.objects.create(
 
        rego.ManualPayment.objects.create(
 
            invoice=self.invoice,
registrasion/tests/test_discount.py
Show inline comments
...
 
@@ -7,3 +7,2 @@ from registrasion.controllers import discount
 
from controller_helpers import TestingCartController
 
from controller_helpers import TestingInvoiceController
 

	
registrasion/tests/test_invoice.py
Show inline comments
...
 
@@ -199,3 +199,3 @@ class InvoiceTestCase(RegistrationCartTestCase):
 
        with self.assertRaises(ValidationError):
 
            invoice_1 = TestingInvoiceController.for_cart(current_cart.cart)
 
            TestingInvoiceController.for_cart(current_cart.cart)
 

	
...
 
@@ -212,4 +212,2 @@ class InvoiceTestCase(RegistrationCartTestCase):
 

	
 

	
 

	
 
    # TODO: test partially paid invoice cannot be void until payments
registrasion/util.py
Show inline comments
...
 
@@ -4,2 +4,3 @@ from django.utils.crypto import get_random_string
 

	
 

	
 
def generate_access_code():
registrasion/views.py
Show inline comments
...
 
@@ -486,3 +486,3 @@ def invoice(request, invoice_id, access_code=None):
 
            access_code=access_code,
 
        ):
 
            ):
 
        raise Http404()
0 comments (0 inline, 0 general)