Exemplo n.º 1
0
 def test_prep_data(self):
     """ Test Process Hotels Method """
     try:
         session = requests.Session()
         out = b.prep_data(rooms, country, 'json', b.default_start_date(),
                           b.default_end_date())
         assert isinstance(out, list)
         assert len(out) > 0
     except Exception as err:
         raise Exception(err)
Exemplo n.º 2
0
 def test_prep_data(self):
     """ Verify prep_data """
     i: list = b.prep_data(rooms, country, start_date, end_date)
     assert i
Exemplo n.º 3
0
 def test_prep_data(self):
     ''' Verify prep_data '''
     i = b.prep_data(rooms, country)
     if not i:
         raise AssertionError()