diff --git a/osprofiler/utils.py b/osprofiler/_utils.py similarity index 100% rename from osprofiler/utils.py rename to osprofiler/_utils.py diff --git a/osprofiler/web.py b/osprofiler/web.py index 29f8426..e3db948 100644 --- a/osprofiler/web.py +++ b/osprofiler/web.py @@ -15,8 +15,8 @@ import webob.dec +from osprofiler import _utils as utils from osprofiler import profiler -from osprofiler import utils def get_trace_id_headers(): diff --git a/tests/test_utils.py b/tests/test_utils.py index 629dee7..790f469 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -17,7 +17,7 @@ import base64 import hashlib import hmac -from osprofiler import utils +from osprofiler import _utils as utils from tests import test diff --git a/tests/test_web.py b/tests/test_web.py index 0c2ecc0..6fd8b3a 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -16,8 +16,8 @@ import mock from webob import response as webob_response +from osprofiler import _utils as utils from osprofiler import profiler -from osprofiler import utils from osprofiler import web from tests import test