api_key -> mapbox_api_key rename refactor

This commit is contained in:
Juan Ignacio Sánchez Lara
2018-02-13 16:16:13 +01:00
parent 45d9edbba6
commit 029541f298
5 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ WELL_KNOWN_LENGTH = 1317.9
class MapboxRoutingTestCase(unittest.TestCase):
def setUp(self):
self.routing = MapboxRouting(token=credentials.api_key(), logger=Mock())
self.routing = MapboxRouting(token=credentials.mapbox_api_key(), logger=Mock())
def test_invalid_profile(self):
with self.assertRaises(ValueError):