Refactored code and added app as a parameter in get_stripe_plan_id
This commit is contained in:
		
					parent
					
						
							
								ecbbe1eb6d
							
						
					
				
			
			
				commit
				
					
						b0b1b6091a
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -136,7 +136,7 @@ class StripePlanTestCase(TestStripeCustomerDescription): | |||
|     """ | ||||
| 
 | ||||
|     def test_get_stripe_plan_id_string(self): | ||||
|         plan_id_string = StripeUtils.get_stripe_plan_id_string(cpu=2, ram=20, ssd=100, version=1) | ||||
|         plan_id_string = StripeUtils.get_stripe_plan_id(cpu=2, ram=20, ssd=100, version=1, app='dcl') | ||||
|         self.assertEqual(plan_id_string, 'dcl-v1-cpu-2-ram-20gb-ssd-100gb') | ||||
| 
 | ||||
|     def test_get_or_create_plan(self): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue