Add skipIf condition for utils.tests.TestStripeCustomerDescription
This commit is contained in:
		
					parent
					
						
							
								8c5848c1aa
							
						
					
				
			
			
				commit
				
					
						07ffbcda97
					
				
			
		
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -97,6 +97,9 @@ class BaseTestCase(TestCase):
 | 
			
		|||
        return view
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@skipIf(settings.STRIPE_API_PRIVATE_KEY_TEST is None or
 | 
			
		||||
        settings.STRIPE_API_PRIVATE_KEY_TEST is "",
 | 
			
		||||
        """Skip because STRIPE_API_PRIVATE_KEY_TEST is not set""")
 | 
			
		||||
class TestStripeCustomerDescription(TestCase):
 | 
			
		||||
    """
 | 
			
		||||
    A class to test setting the description field of the stripe customer
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue