def test_create_session(self): flights_service = Flights(self.api_key) poll_url = flights_service.create_session( country='UK', currency='GBP', locale='en-GB', originplace='SIN-sky', destinationplace='KUL-sky', outbounddate=self.outbound_days, inbounddate=self.inbound_days, adults=1) self.assertTrue(poll_url)
def test_create_session(self): flights_service = Flights(self.api_key) poll_url = flights_service.create_session( country="UK", currency="GBP", locale="en-GB", originplace="SIN-sky", destinationplace="KUL-sky", outbounddate=self.outbound_days, inbounddate=self.inbound_days, adults=1, ) self.assertTrue(poll_url)