File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 24
24
}
25
25
26
26
SERVICE_BASE_PATHS = {
27
- 'deals' : 'media /v1.0' ,
27
+ 'deals' : 'deals /v1.0' ,
28
28
'mgmt' : 'api/v2.0' ,
29
29
'reports' : 'reporting/v1/std' ,
30
30
'reports-beta' : 'reporting-beta/v1/std' ,
Original file line number Diff line number Diff line change 4
4
__author__ = 'MediaMath'
5
5
__copyright__ = 'Copyright 2015, MediaMath'
6
6
__license__ = 'Apache License, Version 2.0'
7
- __version__ = '1.9.18 '
7
+ __version__ = '1.9.19 '
8
8
__maintainer__ = 'MediaMath Developer Relations'
9
9
__email__ = 'developers@mediamath.com'
10
10
__status__ = 'Stable'
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def setUp(self):
38
38
def test_collection (self ):
39
39
with open ('tests/fixtures/json/media_api_deal.json' ) as f :
40
40
fixture = f .read ()
41
- responses .add (responses .GET , 'https://api.mediamath.com/media /v1.0/deals/11111' ,
41
+ responses .add (responses .GET , 'https://api.mediamath.com/deals /v1.0/deals/11111' ,
42
42
body = fixture ,
43
43
content_type = 'application/json' )
44
44
deal = self .t1 .get ('deals' , 11111 )
@@ -49,7 +49,7 @@ def test_generate_json(self):
49
49
50
50
with open ('tests/fixtures/json/media_api_deal.json' ) as f :
51
51
fixture = f .read ()
52
- responses .add (responses .GET , 'https://api.mediamath.com/media /v1.0/deals/11111' ,
52
+ responses .add (responses .GET , 'https://api.mediamath.com/deals /v1.0/deals/11111' ,
53
53
body = fixture ,
54
54
content_type = 'application/json' )
55
55
test_deal = self .t1 .get ('deals' , 11111 )
You can’t perform that action at this time.
0 commit comments