forked from uncloud/uncloud
Fix product activation tests after rebase
This commit is contained in:
parent
83d2cd465d
commit
86775af4c8
3 changed files with 6 additions and 6 deletions
|
|
@ -3,7 +3,7 @@ from django.contrib.auth import get_user_model
|
|||
from datetime import datetime, date, timedelta
|
||||
|
||||
from .models import *
|
||||
from ungleich_service.models import GenericServiceProduct
|
||||
from uncloud_service.models import GenericServiceProduct
|
||||
|
||||
class BillingTestCase(TestCase):
|
||||
def setUp(self):
|
||||
|
|
@ -139,7 +139,7 @@ class ProductActivationTestCase(TestCase):
|
|||
product.save()
|
||||
|
||||
# XXX: to be automated.
|
||||
order.add_record(product.one_time_price, product.recurring_price, product.description)
|
||||
order.add_record(product.one_time_price, product.recurring_price(), product.description)
|
||||
|
||||
# Validate initial state: must be awaiting payment.
|
||||
self.assertEqual(product.status, UncloudStatus.AWAITING_PAYMENT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue