Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use a new API key just for testing bindings in test suite

  • Loading branch information...
commit 17c79742061561f9d66d341eacd400c70c1ad5b3 1 parent 5852147
@ebroder ebroder authored
Showing with 2 additions and 4 deletions.
  1. +1 −1  example.py
  2. +1 −3 test/test_stripe.py
View
2  example.py
@@ -1,6 +1,6 @@
import stripe
-stripe.api_key = '26OjYWkUnwDegILl9ZNVbefRjRboRSio'
+stripe.api_key = 'tGN0bIwXnHdwOa85VABjPdSn8nWY7G7I'
print "Attempting charge..."
View
4 test/test_stripe.py
@@ -233,7 +233,5 @@ def test_update_plan(self):
api_base = os.environ.get('STRIPE_API_BASE')
if api_base:
stripe.api_base = api_base
- api_key = os.environ['STRIPE_API_KEY']
- if api_key:
- stripe.api_key = api_key
+ stripe.api_key = os.environ.get('STRIPE_API_KEY', 'tGN0bIwXnHdwOa85VABjPdSn8nWY7G7I')
unittest.main()
Please sign in to comment.
Something went wrong with that request. Please try again.