Use price in stripe plan name too
This commit is contained in:
		
					parent
					
						
							
								5f19a85a28
							
						
					
				
			
			
				commit
				
					
						8a30100488
					
				
			
		
					 4 changed files with 51 additions and 25 deletions
				
			
		| 
						 | 
				
			
			@ -105,7 +105,8 @@ class CeleryTaskTestCase(TestCase):
 | 
			
		|||
                                            disk_size=disk_size)
 | 
			
		||||
        plan_name = StripeUtils.get_stripe_plan_name(cpu=cpu,
 | 
			
		||||
                                                     memory=memory,
 | 
			
		||||
                                                     disk_size=disk_size)
 | 
			
		||||
                                                     disk_size=disk_size,
 | 
			
		||||
                                                     price=amount_to_be_charged)
 | 
			
		||||
        stripe_plan_id = StripeUtils.get_stripe_plan_id(cpu=cpu,
 | 
			
		||||
                                                        ram=memory,
 | 
			
		||||
                                                        ssd=disk_size,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue