Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Jul 11, 2024
1 parent 93da068 commit 0f8f8a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "uuid-ossp";'
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "pg_trgm";'
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "unaccent";'
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "postgis";'
env:
PGPASSWORD: geopasswd
- uses: actions/checkout@v3
Expand Down
6 changes: 2 additions & 4 deletions src/ref_geo/tests/test_ref_geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,10 @@
PARAMETER_ENABLE = [
(dict(area_code=["50120"]), "50120"),
(dict(area_name=["Ain"]), "01"),
(dict(area_type=["COM"]), "50100"),
(dict(area_type=["COM"]), "01005"),
(
dict(
in_polygon=[
"POLYGON ((-1.653442 49.628504, -1.588898 49.628504, -1.588898 49.653849, -1.653442 49.653849, -1.653442 49.628504))"
]
in_polygon="POLYGON ((-1.653442 49.628504, -1.588898 49.628504, -1.588898 49.653849, -1.653442 49.653849, -1.653442 49.628504))"
),
"50129",
),
Expand Down

0 comments on commit 0f8f8a0

Please sign in to comment.