From f29a3ad0e6b5adb95c288ba90e39f68a33c672d3 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Fri, 29 Sep 2017 08:39:20 +0200 Subject: [PATCH] Pass subscription_id to create_vm_task instead of the object --- datacenterlight/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacenterlight/tests.py b/datacenterlight/tests.py index edde2db8..28e15fca 100644 --- a/datacenterlight/tests.py +++ b/datacenterlight/tests.py @@ -126,7 +126,7 @@ class CeleryTaskTestCase(TestCase): stripe_customer.id, billing_address_data, billing_address_id, - stripe_subscription_obj, + stripe_subscription_obj.id, card_details_dict) new_vm_id = 0 res = None