|
24 | 24 | expect( |
25 | 25 | client.reference_data.locations.points_of_interest.by_square).not_to( |
26 | 26 | be_none) |
27 | | - expect(client.reference_data.locations.point_of_interest).not_to(be_none) |
| 27 | + expect(client.reference_data.locations.hotels).not_to(be_none) |
| 28 | + expect(client.reference_data.locations.hotels.by_hotels).not_to(be_none) |
| 29 | + expect(client.reference_data.locations.hotels.by_city).not_to(be_none) |
| 30 | + expect(client.reference_data.locations.hotels.by_geocode).not_to(be_none) |
28 | 31 | expect(client.travel).not_to(be_none) |
29 | 32 | expect(client.travel.analytics).not_to(be_none) |
30 | 33 | expect(client.travel.analytics.air_traffic.traveled).not_to(be_none) |
|
105 | 108 | expect(client.reference_data.locations.point_of_interest( |
106 | 109 | '9CB40CB5D0').get).not_to(be_none) |
107 | 110 | expect(client.reference_data.recommended_locations.get).not_to(be_none) |
108 | | - |
| 111 | + expect( |
| 112 | + client.reference_data.locations.hotels.by_city.get).not_to(be_none) |
| 113 | + expect( |
| 114 | + client.reference_data.locations.hotels.by_hotels.get).not_to(be_none) |
| 115 | + expect( |
| 116 | + client.reference_data.locations.hotels.by_geocode.get).not_to(be_none) |
109 | 117 | expect(client.travel.analytics.air_traffic.traveled.get).not_to(be_none) |
110 | 118 | expect(client.travel.analytics.air_traffic.booked.get).not_to(be_none) |
111 | 119 | expect( |
|
509 | 517 | expect(self.client.get).to(have_been_called_with( |
510 | 518 | '/v1/duty-of-care/diseases/covid19-area-report', a='b' |
511 | 519 | )) |
| 520 | + |
| 521 | + with it('.reference_data.locations.hotels.by_hotels.get'): |
| 522 | + self.client.reference_data.locations.hotels.by_hotels.get( |
| 523 | + a='b') |
| 524 | + expect(self.client.get).to(have_been_called_with( |
| 525 | + '/v1/reference-data/locations/hotels/by-hotels', a='b' |
| 526 | + )) |
| 527 | + |
| 528 | + with it('.reference_data.locations.hotels.by_city.get'): |
| 529 | + self.client.reference_data.locations.hotels.by_city.get( |
| 530 | + a='b') |
| 531 | + expect(self.client.get).to(have_been_called_with( |
| 532 | + '/v1/reference-data/locations/hotels/by-city', a='b' |
| 533 | + )) |
| 534 | + |
| 535 | + with it('.reference_data.locations.hotels.by_geocode.get'): |
| 536 | + self.client.reference_data.locations.hotels.by_geocode.get( |
| 537 | + a='b') |
| 538 | + expect(self.client.get).to(have_been_called_with( |
| 539 | + '/v1/reference-data/locations/hotels/by-geocode', a='b' |
| 540 | + )) |
0 commit comments