Exemplo n.º 1
0
    def test_low_fare_search(self):
        flights = Flights(self.api_key)

        origin = 'NCE'
        destination = 'LAS'
        duration = '4--10'

        resp = flights.low_fare_search(origin=origin,
                                       destination=destination,
                                       departure_date=self.departure_date,
                                       return_date=self.return_date,
                                       duration=duration)

        self.assertTrue(len(resp) > 0)
Exemplo n.º 2
0
    def test_low_fare_search(self):
        flights = Flights(self.api_key)

        origin = 'NCE'
        destination = 'LAS'
        duration = '4--10'

        resp = flights.low_fare_search(
            origin=origin,
            destination=destination,
            departure_date=self.departure_date,
            return_date=self.return_date,
            duration=duration)

        self.assertTrue(len(resp) > 0)
Exemplo n.º 3
0
    def test_low_fare_search(self):
        flights = Flights(self.api_key)

        origin = "NCE"
        destination = "LAS"
        duration = "4--10"

        resp = flights.low_fare_search(
            origin=origin,
            destination=destination,
            departure_date=self.departure_date,
            return_date=self.return_date,
            duration=duration,
        )

        self.assertTrue(len(resp) > 0)