Skip to content

Commit

Permalink
test: fix test_basemap testdata dirs for github
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 17, 2023
1 parent 3051961 commit f1f7ea7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_basemap.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with osm_fieldwork. If not, see <https:#www.gnu.org/licenses/>.
#
"""Test functionalty of basemapper.py."""

import logging
import os
Expand All @@ -27,8 +28,9 @@

log = logging.getLogger(__name__)

infile = "testdata/Rollinsville.geojson"
outfile = "rollinsville.mbtiles"
rootdir = os.path.dirname(os.path.abspath(__file__))
infile = f"{rootdir}/testdata/Rollinsville.geojson"
outfile = f"{rootdir}/testdata/rollinsville.mbtiles"
base = "./tiles"
# boundary = open(infile, "r")
# poly = geojson.load(boundary)
Expand Down

0 comments on commit f1f7ea7

Please sign in to comment.