begin refactor product to user orders instead of single order

Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
Nico Schottelius 2020-08-09 14:38:10 +02:00
commit 8df1d8dc7c
10 changed files with 224 additions and 90 deletions

View file

@ -6,7 +6,7 @@ from .models import *
from uncloud_service.models import GenericServiceProduct
class ProductOrderTestCase(TestCase):
class ProductTestCase(TestCase):
"""
Test products and products <-> order interaction
"""
@ -168,7 +168,7 @@ class BillingAddressTestCase(TestCase):
class BillAndOrderTestCase(TestCase):
class BillTestCase(TestCase):
def setUp(self):
self.user_without_address = get_user_model().objects.create(
username='no_home_person',