Skip to content

Commit

Permalink
Update test_notices_metadata_services.py
Browse files Browse the repository at this point in the history
  • Loading branch information
duprijil committed Oct 6, 2023
1 parent 6ee10a5 commit ba3cf16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_update_daily_notices_metadata_from_ted(fake_mongodb_client, example_dat
ted_api=ted_api,
daily_notices_metadata_repo=daily_notices_metadata_repo)

assert len(list(daily_notices_metadata_repo.list())) == 0
assert len(list(daily_notices_metadata_repo.list())) == 1

update_daily_notices_metadata_from_ted(start_date=example_date,
end_date=example_date,
Expand All @@ -37,7 +37,7 @@ def test_update_daily_notices_metadata_from_ted(fake_mongodb_client, example_dat
ted_api=ted_api,
daily_notices_metadata_repo=daily_notices_metadata_repo)

assert len(list(daily_notices_metadata_repo.list())) == 1
assert len(list(daily_notices_metadata_repo.list())) == 2


def test_update_daily_notices_metadata_with_fetched_data(fake_mongodb_client,
Expand Down

0 comments on commit ba3cf16

Please sign in to comment.