Changeset - ac10ea4ee895
[Not reviewed]
1 6 1
Christopher Neugebauer - 8 years ago 2016-04-07 07:16:04
chrisjrn@gmail.com
s/cart_controller_helper/controller_helpers/
7 files changed with 14 insertions and 7 deletions:
0 comments (0 inline, 0 general)
registrasion/tests/controller_helpers.py
Show inline comments
 
file renamed from registrasion/tests/cart_controller_helper.py to registrasion/tests/controller_helpers.py
registrasion/tests/test_cart.py
Show inline comments
...
 
@@ -12,3 +12,3 @@ from registrasion.controllers.product import ProductController
 

	
 
from cart_controller_helper import TestingCartController
 
from controller_helpers import TestingCartController
 
from patch_datetime import SetTimeMixin
registrasion/tests/test_ceilings.py
Show inline comments
...
 
@@ -5,3 +5,3 @@ from django.core.exceptions import ValidationError
 

	
 
from cart_controller_helper import TestingCartController
 
from controller_helpers import TestingCartController
 
from test_cart import RegistrationCartTestCase
registrasion/tests/test_enabling_condition.py
Show inline comments
...
 
@@ -6,3 +6,3 @@ from registrasion import models as rego
 
from registrasion.controllers.category import CategoryController
 
from cart_controller_helper import TestingCartController
 
from controller_helpers import TestingCartController
 
from registrasion.controllers.product import ProductController
registrasion/tests/test_invoice.py
Show inline comments
...
 
@@ -7,3 +7,3 @@ from django.core.exceptions import ValidationError
 
from registrasion import models as rego
 
from cart_controller_helper import TestingCartController
 
from controller_helpers import TestingCartController
 
from registrasion.controllers.invoice import InvoiceController
...
 
@@ -199,2 +199,9 @@ class InvoiceTestCase(RegistrationCartTestCase):
 
        with self.assertRaises(ValidationError):
 
            InvoiceController.for_cart(current_cart.cart)
 
            invoice_1 = InvoiceController.for_cart(current_cart.cart)
 

	
 
    # TODO: test partially paid invoice cannot be void until payments
 
    # are refunded
 

	
 
    # TODO: test overpaid invoice results in credit note
 

	
 
    # TODO: test credit note generation more generally 
registrasion/tests/test_refund.py
Show inline comments
...
 
@@ -2,3 +2,3 @@ import pytz
 

	
 
from cart_controller_helper import TestingCartController
 
from controller_helpers import TestingCartController
 
from registrasion.controllers.invoice import InvoiceController
registrasion/tests/test_voucher.py
Show inline comments
...
 
@@ -8,3 +8,3 @@ from django.db import IntegrityError
 
from registrasion import models as rego
 
from cart_controller_helper import TestingCartController
 
from controller_helpers import TestingCartController
 
from registrasion.controllers.invoice import InvoiceController
0 comments (0 inline, 0 general)