Skip to content

Commit

Permalink
Update test_scrapers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sakan811 authored Jun 16, 2024
1 parent 4776f88 commit 6a0019a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_scrapers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
get_count_of_date_by_mth_asof_today_query, check_csv_if_all_date_was_scraped, find_csv_files, convert_csv_to_df
from set_details import Details


@pytest.mark.skip
def test_check_if_all_date_was_scraped_csv() -> None:
city = 'Osaka'
group_adults = 1
Expand Down Expand Up @@ -76,7 +76,7 @@ def test_check_if_all_date_was_scraped_csv() -> None:
for row in result:
assert row[1] == days_in_month


@pytest.mark.skip
def test_thread_scraper() -> None:
city = 'Osaka'
group_adults = 1
Expand Down Expand Up @@ -107,7 +107,7 @@ def test_thread_scraper() -> None:

assert not df.empty


@pytest.mark.skip
def test_thread_scraper_past_month() -> None:
city = 'Osaka'
group_adults = 1
Expand Down Expand Up @@ -138,7 +138,7 @@ def test_thread_scraper_past_month() -> None:

assert df is None


@pytest.mark.skip
def test_until_month_end_scraper() -> None:
city = 'Osaka'
group_adults = 1
Expand Down Expand Up @@ -170,7 +170,7 @@ def test_until_month_end_scraper() -> None:

assert not df.empty


@pytest.mark.skip
def test_until_month_end_scraper_past_month() -> None:
city = 'Osaka'
group_adults = 1
Expand Down Expand Up @@ -202,7 +202,7 @@ def test_until_month_end_scraper_past_month() -> None:

assert df is None


@pytest.mark.skip
def test_scraper() -> None:
city = 'Osaka'
group_adults = 1
Expand Down Expand Up @@ -234,7 +234,7 @@ def test_scraper() -> None:

assert not df.empty


@pytest.mark.skip
def test_check_if_all_date_was_scraped() -> None:
city = 'Osaka'
group_adults = 1
Expand Down

0 comments on commit 6a0019a

Please sign in to comment.