diff --git a/labonneboite/tests/app/maps/test_cache.py b/labonneboite/tests/app/maps/test_cache.py index 8ca086e0c..da38b6969 100644 --- a/labonneboite/tests/app/maps/test_cache.py +++ b/labonneboite/tests/app/maps/test_cache.py @@ -1,7 +1,7 @@ # coding: utf8 import unittest -import mock +from unittest import mock import redis.sentinel from labonneboite.tests.test_base import AppTest diff --git a/labonneboite/tests/app/maps/test_ign.py b/labonneboite/tests/app/maps/test_ign.py index 63cfbc3d5..70aaf4708 100644 --- a/labonneboite/tests/app/maps/test_ign.py +++ b/labonneboite/tests/app/maps/test_ign.py @@ -3,7 +3,7 @@ import os import unittest -import mock +from unittest import mock from labonneboite.common.maps import constants from labonneboite.common.maps import exceptions diff --git a/labonneboite/tests/app/maps/test_navitia.py b/labonneboite/tests/app/maps/test_navitia.py index f8019e0e5..b5319ccea 100644 --- a/labonneboite/tests/app/maps/test_navitia.py +++ b/labonneboite/tests/app/maps/test_navitia.py @@ -3,7 +3,7 @@ import json import unittest -import mock +from unittest import mock from labonneboite.common.maps import constants from labonneboite.common.maps import exceptions diff --git a/labonneboite/tests/app/maps/test_travel.py b/labonneboite/tests/app/maps/test_travel.py index bcb191918..807431d79 100644 --- a/labonneboite/tests/app/maps/test_travel.py +++ b/labonneboite/tests/app/maps/test_travel.py @@ -1,6 +1,6 @@ # coding: utf8 import unittest -import mock +from unittest import mock from labonneboite.common.maps import constants from labonneboite.common.maps import travel diff --git a/labonneboite/tests/app/test_search.py b/labonneboite/tests/app/test_search.py index 32413f92a..f19bcdec3 100644 --- a/labonneboite/tests/app/test_search.py +++ b/labonneboite/tests/app/test_search.py @@ -1,6 +1,6 @@ import unittest -import mock +from unittest import mock from labonneboite.common import search diff --git a/labonneboite/tests/web/integration/test_maps.py b/labonneboite/tests/web/integration/test_maps.py index 2852153c4..578958c03 100644 --- a/labonneboite/tests/web/integration/test_maps.py +++ b/labonneboite/tests/web/integration/test_maps.py @@ -2,7 +2,7 @@ import json from flask import url_for -import mock +from unittest import mock from labonneboite.common.maps import constants from labonneboite.tests.test_base import AppTest