|
20 | 20 | expect(client.reference_data.location).not_to(be_none) |
21 | 21 | expect(client.reference_data.locations).not_to(be_none) |
22 | 22 | expect(client.reference_data.locations.airports).not_to(be_none) |
| 23 | + expect(client.reference_data.locations.points_of_interest).not_to(be_none) |
| 24 | + expect( |
| 25 | + client.reference_data.locations.points_of_interest.by_square).not_to( |
| 26 | + be_none) |
23 | 27 |
|
24 | 28 | expect(client.travel).not_to(be_none) |
25 | 29 | expect(client.travel.analytics).not_to(be_none) |
|
46 | 50 | expect(client.reference_data.location('ALHR').get).not_to(be_none) |
47 | 51 | expect(client.reference_data.locations.get).not_to(be_none) |
48 | 52 | expect(client.reference_data.locations.airports.get).not_to(be_none) |
| 53 | + expect( |
| 54 | + client.reference_data.locations.points_of_interest.get).not_to( |
| 55 | + be_none) |
| 56 | + expect( |
| 57 | + client.reference_data.locations.points_of_interest.by_square.get |
| 58 | + ).not_to(be_none) |
49 | 59 |
|
50 | 60 | expect(client.travel.analytics.air_traffic.traveled.get).not_to(be_none) |
51 | 61 | expect(client.travel.analytics.air_traffic.booked.get).not_to(be_none) |
|
100 | 110 | '/v1/reference-data/locations/airports', a='b' |
101 | 111 | )) |
102 | 112 |
|
| 113 | + with it('.reference_data.locations.points_of_interest.get'): |
| 114 | + self.client.reference_data.locations.points_of_interest.get(a='b') |
| 115 | + expect(self.client.get).to(have_been_called_with( |
| 116 | + '/v1/reference-data/locations/pois', a='b' |
| 117 | + )) |
| 118 | + |
| 119 | + with it('.reference_data.locations.points_of_interest.by_square.get'): |
| 120 | + self.client.reference_data.locations.points_of_interest.by_square.get( |
| 121 | + a='b') |
| 122 | + expect(self.client.get).to(have_been_called_with( |
| 123 | + '/v1/reference-data/locations/pois/by-square', a='b' |
| 124 | + )) |
| 125 | + |
103 | 126 | with it('.travel.analytics.air_traffic.traveled.get'): |
104 | 127 | self.client.travel.analytics.air_traffic.traveled.get(a='b') |
105 | 128 | expect(self.client.get).to(have_been_called_with( |
|
0 commit comments