Skip to content

Commit

Permalink
Merge pull request #395 from stripe/jkakar/use-stripe-mock-0.8.0
Browse files Browse the repository at this point in the history
Upgrade to stripe-mock 0.8.0
  • Loading branch information
ob-stripe authored Feb 16, 2018
2 parents f183e8e + 398cb0c commit 689baae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cache:
env:
global:
- PYCURL_SSL_LIBRARY=gnutls
- STRIPE_MOCK_VERSION=0.5.0
- STRIPE_MOCK_VERSION=0.8.0

addons:
apt:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ instructions for installing via Homebrew and other methods):

Run a single test suite:

tox -e py27 -- --test-suite stripe.test.resources.test_updateable.UpdateableAPIResourceTests
tox -e py27 -- --test-suite tests.api_resources.abstract.test_updateable_api_resource.UpdateableAPIResourceTests

Run a single test:

tox -e py27 -- --test-suite stripe.test.resources.test_updateable.UpdateableAPIResourceTests.test_save
tox -e py27 -- --test-suite tests.api_resources.abstract.test_updateable_api_resource.UpdateableAPIResourceTests.test_save

Run the linter with:

Expand Down
3 changes: 2 additions & 1 deletion tests/api_resources/test_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def test_is_retrievable(self):

def test_is_creatable(self):
resource = stripe.Product.create(
name='NAME'
name='NAME',
type='good'
)
self.assert_requested(
'post',
Expand Down

0 comments on commit 689baae

Please sign in to comment.