Reformat code
This commit is contained in:
		
					parent
					
						
							
								01aadefd6c
							
						
					
				
			
			
				commit
				
					
						4d68f3bcbe
					
				
			
		
					 1 changed files with 5 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -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):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue