From 4d68f3bcbe12b1a49f3743b8a759dac3649b741d Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 25 Nov 2017 18:52:00 +0100 Subject: [PATCH] Reformat code --- datacenterlight/tests.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/datacenterlight/tests.py b/datacenterlight/tests.py index 3405cfb6..6167e3e2 100644 --- a/datacenterlight/tests.py +++ b/datacenterlight/tests.py @@ -110,13 +110,11 @@ class CeleryTaskTestCase(TestCase): msg = subscription_result.get('error') raise Exception("Creating subscription failed: {}".format(msg)) - async_task = create_vm_task.delay(vm_template_id, self.user, - specs, - template_data, - stripe_customer.id, - billing_address_data, - stripe_subscription_obj.id, - card_details_dict) + async_task = create_vm_task.delay( + vm_template_id, self.user, specs, template_data, + stripe_customer.id, billing_address_data, + stripe_subscription_obj.id, card_details_dict + ) new_vm_id = 0 res = None for i in range(0, 10):