Skip to content

Commit

Permalink
Update conflict tests
Browse files Browse the repository at this point in the history
  • Loading branch information
b-j-mills committed Feb 14, 2025
1 parent 7fbfd83 commit 71fbfe0
Show file tree
Hide file tree
Showing 16 changed files with 172,984 additions and 508 deletions.
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ gspread==6.1.4
# via hdx-python-scraper
hapi-schema==0.9.8
# via hapi-pipelines (pyproject.toml)
hdx-python-api==6.3.7
hdx-python-api==6.3.8
# via
# hapi-pipelines (pyproject.toml)
# hdx-python-scraper
Expand All @@ -67,15 +67,15 @@ hdx-python-country==3.8.8
# hdx-python-scraper
hdx-python-database==1.3.5
# via hapi-pipelines (pyproject.toml)
hdx-python-scraper==2.5.9
hdx-python-scraper==2.6.0
# via hapi-pipelines (pyproject.toml)
hdx-python-utilities==3.8.3
# via
# hapi-pipelines (pyproject.toml)
# hdx-python-api
# hdx-python-country
# hdx-python-scraper
humanize==4.11.0
humanize==4.12.0
# via frictionless
identify==2.6.7
# via pre-commit
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion tests/fixtures/input/burkina-faso-acled-conflict-data.json

This file was deleted.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion tests/fixtures/input/colombia-acled-conflict-data.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
172,478 changes: 172,478 additions & 0 deletions tests/fixtures/input/download-hdx-hapi-conflict-event-global-2024.csv

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/input/hdx-hapi-conflict-event.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def test_conflict_event(self, configuration, folder, pipelines):
count = session.scalar(
select(func.count(DBConflictEvent.resource_hdx_id))
)
check.equal(count, 28740)
check.equal(count, 201180)

@pytest.mark.parametrize("themes_to_run", [{"poverty_rate": None}])
def test_poverty_rate(self, configuration, folder, pipelines):
Expand Down

0 comments on commit 71fbfe0

Please sign in to comment.