Added cdb_dataservices_server functions

This commit is contained in:
Antonio
2017-12-29 14:07:51 +01:00
parent af07def7fc
commit c46174210d
9 changed files with 6883 additions and 29 deletions

View File

@@ -19,11 +19,11 @@ class MapboxIsolinesTestCase(unittest.TestCase):
self.mapbox_isolines = MapboxIsolines(matrix_client, logger=Mock())
def test_calculate_isochrone(self):
time_range = 10 * 60 # 10 minutes
time_ranges = [300, 900]
solution = self.mapbox_isolines.calculate_isochrone(
origin=VALID_ORIGIN,
profile=DEFAULT_PROFILE,
time_range=time_range)
time_ranges=time_ranges)
assert solution