File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class Config():
1010 """
1111
1212 def __init__ (self ):
13- self .__version = "2.0.6 "
13+ self .__version = "2.0.7 "
1414 self .__user_agent = "MercadoPago Python SDK v" + self .__version
1515 self .__product_id = "bc32bpftrpp001u8nhlg"
1616 self .__tracking_id = "platform:" + platform .python_version ()
Original file line number Diff line number Diff line change 88
99setup (
1010 name = "mercadopago" ,
11- version = "2.0.6 " ,
11+ version = "2.0.7 " ,
1212 description = "Mercadopago SDK module for Payments integration" ,
1313 author = "Mercado Pago SDK" ,
1414 author_email = "mp_sdk@mercadopago.com" ,
1919 include_package_data = True ,
2020 long_description = open ("README.md" ).read (),
2121 long_description_content_type = "text/markdown" ,
22+ install_requires = [
23+ "requests"
24+ ],
2225 tests_require = [
2326 "unittest"
2427 ],
25- python_requires = "!=3.0* " ,
28+ python_requires = ">=3 " ,
2629 cmdclass = {"test" : unittest },
2730 project_urls = {
2831 "Source Code" : "https://github.com/mercadopago/sdk-python" ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def test_all(self):
4141 }
4242
4343 card_created = self .sdk .card ().create (customer_id , card_object )
44- self .assertEqual (card_created ["status" ], 200 )
44+ self .assertIn (card_created ["status" ], [ 200 , 201 ] )
4545 self .assertEqual (self .sdk .card ()
4646 .get (customer_id , card_created ["response" ]["id" ])["status" ], 200 )
4747
You can’t perform that action at this time.
0 commit comments