Skip to content

Commit

Permalink
Merge pull request #212 from hotosm/bug/unit-test
Browse files Browse the repository at this point in the history
Fix : Bug in unit test
  • Loading branch information
kshitijrajsharma authored Feb 19, 2024
2 parents ed960f1 + f489177 commit 73f0008
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 285 deletions.
1 change: 1 addition & 0 deletions .github/workflows/Unit-Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
export PGPASSWORD='admin';
psql -U postgres -h localhost -p 5434 raw < tests/fixtures/pokhara.sql
psql -U postgres -h localhost -p 5434 raw < backend/sql/countries.sql
psql -U postgres -h localhost -p 5434 raw < API/data/tables.sql
psql -U postgres -h localhost -p 5434 raw < API/data/hdx.sql
- name: Install gdal
Expand Down
2 changes: 1 addition & 1 deletion API/api_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
celery = Celery("Raw Data API")
celery.conf.broker_url = celery_broker_uri
celery.conf.result_backend = celery_backend
# celery.conf.task_serializer = "json"
# celery.conf.task_serializer = "pickle"
# celery.conf.result_serializer = "json"
# celery.conf.accept_content = ["application/json", "application/x-python-serialize"]
celery.conf.task_track_started = True
Expand Down
Loading

0 comments on commit 73f0008

Please sign in to comment.