File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class Config():
10
10
"""
11
11
12
12
def __init__ (self ):
13
- self .__version = "2.0.6 "
13
+ self .__version = "2.0.7 "
14
14
self .__user_agent = "MercadoPago Python SDK v" + self .__version
15
15
self .__product_id = "bc32bpftrpp001u8nhlg"
16
16
self .__tracking_id = "platform:" + platform .python_version ()
Original file line number Diff line number Diff line change 8
8
9
9
setup (
10
10
name = "mercadopago" ,
11
- version = "2.0.6 " ,
11
+ version = "2.0.7 " ,
12
12
description = "Mercadopago SDK module for Payments integration" ,
13
13
author = "Mercado Pago SDK" ,
14
14
19
19
include_package_data = True ,
20
20
long_description = open ("README.md" ).read (),
21
21
long_description_content_type = "text/markdown" ,
22
+ install_requires = [
23
+ "requests"
24
+ ],
22
25
tests_require = [
23
26
"unittest"
24
27
],
25
- python_requires = "!=3.0* " ,
28
+ python_requires = ">=3 " ,
26
29
cmdclass = {"test" : unittest },
27
30
project_urls = {
28
31
"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):
41
41
}
42
42
43
43
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 ] )
45
45
self .assertEqual (self .sdk .card ()
46
46
.get (customer_id , card_created ["response" ]["id" ])["status" ], 200 )
47
47
You can’t perform that action at this time.
0 commit comments