Skip to content

Commit

Permalink
Update test_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sakan811 authored Jun 16, 2024
1 parent d9497ef commit 8044987
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_convert_csv_to_df():
def test_check_if_all_date_was_scraped_csv() -> None:
city = 'Osaka'
group_adults = 1
num_rooms = 0
num_rooms = 1
group_children = 0
selected_currency = 'USD'

Expand Down Expand Up @@ -124,7 +124,7 @@ def test_check_if_all_date_was_scraped_csv() -> None:
def test_check_if_all_date_was_scraped() -> None:
city = 'Osaka'
group_adults = 1
num_rooms = 0
num_rooms = 1
group_children = 0
selected_currency = 'USD'

Expand Down Expand Up @@ -154,7 +154,7 @@ def test_check_if_all_date_was_scraped() -> None:
)

thread_scrape = ThreadPoolScraper(hotel_stay)
thread_scrape.thread_scrape(to_sqlite=True, timezone=city_timezone, max_workers=5)
thread_scrape.thread_scrape(to_sqlite=True, timezone=city_timezone, max_workers=2)
check_db_if_all_date_was_scraped(sqlite_name)

with sqlite3.connect(sqlite_name) as conn:
Expand Down

0 comments on commit 8044987

Please sign in to comment.