|
46 | 46 | expect(client.shopping.flight_offers_search).not_to(be_none) |
47 | 47 | expect(client.shopping.flight_offers.pricing).not_to(be_none) |
48 | 48 |
|
| 49 | + expect(client.shopping.seatmaps).not_to(be_none) |
| 50 | + |
49 | 51 | expect(client.shopping.hotel_offers).not_to(be_none) |
50 | 52 | expect(client.shopping.hotel_offer).not_to(be_none) |
51 | 53 | expect(client.shopping.hotel_offers_by_hotel).not_to(be_none) |
|
102 | 104 | expect(client.shopping.flight_offers.get).not_to(be_none) |
103 | 105 | expect(client.shopping.flight_offers_search.get).not_to(be_none) |
104 | 106 |
|
| 107 | + expect(client.shopping.seatmaps.get).not_to(be_none) |
| 108 | + |
105 | 109 | expect(client.shopping.hotel_offers.get).not_to(be_none) |
106 | 110 | expect(client.shopping.hotel_offers_by_hotel.get).not_to(be_none) |
107 | 111 | expect(client.shopping.hotel_offer('123').get).not_to(be_none) |
|
256 | 260 | '/v2/shopping/hotel-offers/XXX', a='b' |
257 | 261 | )) |
258 | 262 |
|
| 263 | + with it('.shopping.seatmaps.get'): |
| 264 | + self.client.shopping.seatmaps.get(**{'a': 'b'}) |
| 265 | + expect(self.client.get).to(have_been_called_with( |
| 266 | + '/v1/shopping/seatmaps', a='b' |
| 267 | + )) |
| 268 | + |
259 | 269 | with it('.e_reputation.hotel_sentiments.get'): |
260 | 270 | self.client.e_reputation.hotel_sentiments.get(hotelIds='XKPARC12') |
261 | 271 | expect(self.client.get).to(have_been_called_with( |
|
304 | 314 | '/v2/shopping/flight-offers', {'foo': 'bar'} |
305 | 315 | )) |
306 | 316 |
|
| 317 | + with it('.shopping.seatmaps.post'): |
| 318 | + self.client.shopping.seatmaps.post({'foo': 'bar'}) |
| 319 | + expect(self.client.post).to(have_been_called_with( |
| 320 | + '/v1/shopping/seatmaps', {'foo': 'bar'} |
| 321 | + )) |
| 322 | + |
307 | 323 | with it('.shopping.flight_offers.pricing.post'): |
308 | 324 | self.client.shopping.flight_offers.pricing.post({'foo': 'bar'}) |
309 | 325 | expect(self.client.post).to(have_been_called_with( |
|
0 commit comments