Skip to content

Commit

Permalink
Merge pull request #47 from mercadopago/release/2.0.7
Browse files Browse the repository at this point in the history
Fix SDK installation error
  • Loading branch information
delias-silva authored May 31, 2021
2 parents a22905e + 96acf7b commit 642376f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mercadopago/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Config():
"""

def __init__(self):
self.__version = "2.0.6"
self.__version = "2.0.7"
self.__user_agent = "MercadoPago Python SDK v" + self.__version
self.__product_id = "bc32bpftrpp001u8nhlg"
self.__tracking_id = "platform:" + platform.python_version()
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="mercadopago",
version="2.0.6",
version="2.0.7",
description="Mercadopago SDK module for Payments integration",
author="Mercado Pago SDK",
author_email="[email protected]",
Expand All @@ -19,10 +19,13 @@
include_package_data=True,
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=[
"requests"
],
tests_require=[
"unittest"
],
python_requires="!=3.0*",
python_requires=">=3",
cmdclass={"test": unittest},
project_urls={
"Source Code": "https://github.com/mercadopago/sdk-python",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_all(self):
}

card_created = self.sdk.card().create(customer_id, card_object)
self.assertEqual(card_created["status"], 200)
self.assertIn(card_created["status"], [200, 201])
self.assertEqual(self.sdk.card()
.get(customer_id, card_created["response"]["id"])["status"], 200)

Expand Down

0 comments on commit 642376f

Please sign in to comment.