Skip to content

Commit 16596e9

Browse files
committed
test: move test_helper.py content to data/mock.py
fixes #104
1 parent ff7b1ae commit 16596e9

10 files changed

+8
-8
lines changed

tests/data/__init__.py

Whitespace-only changes.
File renamed without changes.

tests/test_google.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from routingpy.direction import Direction, Directions
2626
from routingpy.exceptions import RouterApiError, RouterServerError
2727
from routingpy.matrix import Matrix
28-
from tests.test_helper import *
28+
from tests.data.mock import *
2929

3030

3131
class GoogleTest(_test.TestCase):

tests/test_graphhopper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from routingpy.isochrone import Isochrone, Isochrones
2828
from routingpy.matrix import Matrix
2929
from routingpy.utils import decode_polyline5
30-
from tests.test_helper import *
30+
from tests.data.mock import *
3131

3232

3333
class GraphhopperTest(_test.TestCase):

tests/test_heremaps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from routingpy.direction import Direction, Directions
2626
from routingpy.isochrone import Isochrone, Isochrones
2727
from routingpy.matrix import Matrix
28-
from tests.test_helper import *
28+
from tests.data.mock import *
2929

3030

3131
class HereMapsTest(_test.TestCase):

tests/test_mapbox_osrm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from routingpy.direction import Direction, Directions
2727
from routingpy.isochrone import Isochrone, Isochrones
2828
from routingpy.matrix import Matrix
29-
from tests.test_helper import *
29+
from tests.data.mock import *
3030

3131

3232
class MapboxOSRMTest(_test.TestCase):

tests/test_openrouteservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from routingpy.direction import Direction
2828
from routingpy.isochrone import Isochrone, Isochrones
2929
from routingpy.matrix import Matrix
30-
from tests.test_helper import *
30+
from tests.data.mock import *
3131

3232

3333
class ORSTest(_test.TestCase):

tests/test_opentripplanner_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from routingpy.direction import Direction, Directions
2727
from routingpy.isochrone import Isochrone, Isochrones
2828
from routingpy.raster import Raster
29-
from tests.test_helper import *
29+
from tests.data.mock import *
3030

3131

3232
class OpenTripPlannerV2Test(_test.TestCase):

tests/test_osrm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from routingpy import OSRM, convert
2525
from routingpy.direction import Direction, Directions
2626
from routingpy.matrix import Matrix
27-
from tests.test_helper import *
27+
from tests.data.mock import *
2828

2929

3030
class OSRMTest(_test.TestCase):

tests/test_valhalla.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
Sidewalk,
3636
Surface,
3737
)
38-
from tests.test_helper import *
38+
from tests.data.mock import *
3939

4040

4141
class ValhallaTest(_test.TestCase):

0 commit comments

Comments
 (0)